Safe Haskell | None |
---|---|
Language | Haskell2010 |
doctest utilities
Synopsis
Documentation
tst :: (Eq a, Flat a) => a -> (Bool, NumBits, [Word8]) Source #
Returns: result of flat/unflat test, encoding size in bits, byte encoding
tstBits :: (Eq a, Flat a) => a -> (Bool, NumBits, String) Source #
Returns: result of flat/unflat test, encoding size in bits, bits encoding
asList :: (Eq a1, Eq a2, Flat a1, Flat a2) => (a2 -> a1) -> a2 -> Bool Source #
Test that container is serialised as a List
prettyShow :: Pretty a => a -> String #
Pretty print a value with the prettyNormal
level.
module Data.Word