mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-11-30 22:42:02 +03:00
Formatting tweak
This commit is contained in:
parent
d1e08a7a48
commit
d0fd35ba81
@ -41,7 +41,7 @@ type DigestUnwrapped = UArray Word8
|
||||
--
|
||||
-- The 'Coercible' constraint adds a little bit of type safety to the
|
||||
-- pointer munging that goes on under the hood.
|
||||
instance (HashAlgorithm algo, KnownNat (HashDigestSize algo)
|
||||
instance ( HashAlgorithm algo, KnownNat (HashDigestSize algo)
|
||||
, KnownNat size, size <= HashDigestSize algo
|
||||
, Coercible (Digest algo) DigestUnwrapped
|
||||
) => HashAlgorithm (Truncated algo size) where
|
||||
|
Loading…
Reference in New Issue
Block a user