convex-testing-interface
Safe HaskellSafe-Inferred
LanguageHaskell2010

Convex.ThreatModel.Pretty

Synopsis

Documentation

paragraph :: [String] -> String Source #

Format a list of strings as a paragraph. The structure of the list is not considered other than inserting whitespace between consecutive elements. Use with counterexampleTM when printing longer texts.

block :: Doc -> [Doc] -> Doc Source #

fblock :: Doc -> [Doc] -> Doc Source #

hblock :: Doc -> [Doc] -> Doc Source #

pList :: [Doc] -> Doc Source #

pSet :: [Doc] -> Doc Source #

pArgs :: [Doc] -> Doc Source #

(<:>) :: Doc -> Doc -> Doc infixr 6 Source #

prettyHash :: Show a => a -> Doc Source #