regular-0.3.4.4: Generic programming library for regular datatypes.

Copyright(c) 2010 Universiteit Utrecht
LicenseBSD3
Maintainergenerics@haskell.org
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell98

Generics.Regular.Functions

Contents

Description

Summary: All of the generic functionality for regular dataypes: mapM, flatten, zip, equality, value generation, fold and unfold. Generic show (Generics.Regular.Functions.Show), generic read (Generics.Regular.Functions.Read) and generic equality (Generics.Regular.Functions.Eq) are not exported to prevent clashes with Prelude.

Synopsis

Constructor names

Crush

Generic folding

Functorial map

Generating values that are different on top-level

Zipping