flaw-editor/Flaw/Editor/BlobService.hs

Summary

Maintainability
Test Coverage

Use newtype instead of data
Open

data BlobHash
  = BlobHashSHA256 B.ByteString
  deriving (Generic, S.Serialize)

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

There are no issues that match your filters.

Category
Status