syb-0.2.2: Scrap Your Boilerplate

Portabilitynon-portable (uses Data.Generics.Basics)
Stabilityexperimental
Maintainergenerics@haskell.org

Data.Generics.Text

Contents

Description

"Scrap your boilerplate" --- Generic programming in Haskell See http://www.cs.vu.nl/boilerplate/. The present module provides generic operations for text serialisation of terms.

Synopsis

Generic show

gshow :: Data a => a -> StringSource

Generic show: an alternative to "deriving Show"

gshows :: Data a => a -> ShowSSource

Generic shows

Generic read

gread :: Data a => ReadS aSource

Generic read: an alternative to "deriving Read"