Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- renderNoLength :: Ppr a => a -> String
- simplifiedTH :: [Dec] -> ExpQ
Documentation
renderNoLength :: Ppr a => a -> String Source #
simplifiedTH :: [Dec] -> ExpQ Source #
Simplifies and pretty-prints declarations. Will give back a quoted string.
Can be used from GHCi like so:
putStrLn $(simplifiedTH =<< makePrisms ''Either)