Copyright | Benjamin Jones 2017 |
---|---|
License | ISC |
Maintainer | bjones@galois.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe |
Language | Haskell2010 |
Export top-level pretty printer functions taking general pretty-printable
values and writing them to stdout
or to String
. These functions avoid
the need to export the specific pretty printer library to clients.
- spPrint :: Pretty a => a -> String
- pprintSystem :: Pretty a => a -> Text
- putSystem :: Pretty a => a -> IO ()
- putSExpCompact :: ToSExp a => a -> IO ()
- putSystemLn :: Pretty a => a -> IO ()
- hPutSystem :: Pretty a => Handle -> a -> IO ()
pretty printing
putSExpCompact :: ToSExp a => a -> IO () Source #
Render a value of the pretty class in a compact fashion to stdout
.