| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
ZM.Pretty
Contents
Description
Pretty instances for some basic Haskell types and for data type models
- module Data.Model.Pretty
- hex :: Word8 -> String
- unPrettyRef :: String -> SHAKE128_48 a
- prettyList :: [Doc] -> Doc
- prettyTuple :: [Doc] -> Doc
Documentation
module Data.Model.Pretty
unPrettyRef :: String -> SHAKE128_48 a Source #
Convert the textual representation of a hash code to its equivalent value
>>>unPrettyRef "Kb53bec846608"SHAKE128_48 181 59 236 132 102 8
prettyList :: [Doc] -> Doc Source #
Display a list of Docs, with spaced elements
>>>prettyList (map pPrint [11,22,33::Word8])[11, 22, 33]
prettyTuple :: [Doc] -> Doc Source #
Display a list of Docs, as a tuple with spaced elements
>>>prettyTuple (map pPrint [11,22,33::Word8])(11, 22, 33)