Skip to content
Snippets Groups Projects
Commit c9b24e60 authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

fixup! Add Distribution.Utils.StructuredBinary

parent d7aa900d
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ structureHash _ = untag (structureHash' :: Tagged a MD5)
-- | Structured 'Binary.encode'.
-- Encode a value to using binary serialisation to a lazy 'LBS.ByteString'.
-- Encoding starts with 20 byte large structure hash.
-- Encoding starts with 16 byte large structure hash.
structuredEncode
:: forall a. (Binary.Binary a, Structured a)
=> a -> LBS.ByteString
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment