boomerang-1.4.8: Library for invertible parsing and printing
Safe HaskellNone
LanguageHaskell2010

Text.Boomerang.TH

Synopsis

Documentation

makeBoomerangs :: Name -> Q [Dec] Source #

Make a Boomerang router for each constructor in a datatype. For example:

$(makeBoomerangs ''Sitemap)

Backwards-compatibility

derivePrinterParsers :: Name -> Q [Dec] Source #

Deprecated: Use makeBoomerangs instead

Old name for makeBoomerangs, since renamed to reflect the fact that it's not actually deriving instances for any type class, but rather generates top-level definitions for routers of type Boomerang.