boomerang-1.4.5.3: Library for invertible parsing and printing

Safe HaskellNone
LanguageHaskell98

Text.Boomerang.TH

Contents

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.