one-liner-0.3.1: Constraint-based generics

Portabilitynon-portable
Stabilityexperimental
Maintainersjoerd@w3future.com
Safe HaskellNone

Generics.OneLiner.Functions

Contents

Description

 

Synopsis

For all instances

eqADT :: (ADT t, Constraints t Eq) => t -> t -> BoolSource

showsPrecADT :: forall t. (ADT t, Constraints t Show) => Int -> t -> ShowSSource

readPrecADT :: forall t. (ADT t, Constraints t Read) => ReadPrec tSource

For datatypes with one constructor

mappendADT :: (ADTRecord t, Constraints t Monoid) => t -> t -> tSource