boomerang-1.4.8.1: Library for invertible parsing and printing
Safe HaskellSafe-Inferred
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.