syb-0.5.1: Scrap Your Boilerplate

Copyright(c) The University of Glasgow, CWI 2001--2003
LicenseBSD-style (see the LICENSE file)
Maintainergenerics@haskell.org
Stabilityexperimental
Portabilitynon-portable (uses Data.Generics.Basics)
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Generics.Text

Contents

Description

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

Synopsis

Generic show

gshow :: Data a => a -> String Source

Generic show: an alternative to "deriving Show"

gshows :: Data a => a -> ShowS Source

Generic shows

Generic read

gread :: Data a => ReadS a Source

Generic read: an alternative to "deriving Read"