syb-0.4.1: Scrap Your Boilerplate

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

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 -> 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"