flaw-editor/Flaw/Editor/BlobService.hs
Use newtype instead of data Open
Open
data BlobHash
= BlobHashSHA256 B.ByteString
deriving (Generic, S.Serialize)
- Read upRead up
- Exclude checks
Found
data BlobHash
= BlobHashSHA256 B.ByteString
deriving (Generic, S.Serialize)
Perhaps
newtype BlobHash
= BlobHashSHA256 B.ByteString
deriving (Generic, S.Serialize)
Applying this change:
- decreases laziness