Data.Generics.Text

syb-0.3.3: Scrap Your Boilerplate

Portability | non-portable (uses Data.Generics.Basics)
Stability | experimental
Maintainer | generics@haskell.org

Data.Generics.Text

Contents

- Generic show
- Generic read

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

- gshow :: Data a => a -> String
- gshows :: Data a => a -> ShowS
- gread :: Data a => ReadS a

# Generic show

gshow :: Data a => a -> String

Generic show: an alternative to "deriving Show"

gshows :: Data a => a -> ShowS

Generic shows

# Generic read

gread :: Data a => ReadS a

Generic read: an alternative to "deriving Read"