Void: used for datatypes without constructors
Unit: used for constructors without arguments
Used for marking occurrences of the parameter
Recursive calls of kind * -> *
Constants, additional parameters and recursion of kind *
Meta-information (constructor names, etc.)
Sums: encode choice between constructors
Products: encode multiple arguments to constructors
Composition of functors
Synonyms for convenienceType synonym for encoding recursion (of kind *)
Deprecated: Par0 is no longer used; use Rec0 instead
Type synonym for encoding parameters (other than the last)
Tag for K1: recursion (of kind *)
Deprecated: P is no longer used; use R instead
Tag for K1: parameters (other than the last)
Type synonym for encoding meta-information for datatypes
Type synonym for encoding meta-information for constructors
Type synonym for encoding meta-information for record selectors
Tag for M1: constructor
Tag for M1: record selector
Meta-informationClass for datatypes that represent datatypes
Methods
datatypeName :: t d (f :: * -> *) a -> [Char]Source
The name of the datatype (unqualified)
moduleName :: t d (f :: * -> *) a -> [Char]Source
The fully-qualified name of the module where the type is declared
Instances
Datatype D1(,,,,,,) Datatype D1(,,,,,) Datatype D1(,,,,) Datatype D1(,,,) Datatype D1(,,) Datatype D1(,) Datatype D1Either Datatype D1Maybe Datatype D1[] Datatype D1() Datatype D1Ordering Datatype D1Bool Datatype D_Char Datatype D_Double Datatype D_Float Datatype D_Intclass Constructor c whereSource
Class for datatypes that represent data constructors
Instances
Constructor C1_0(,,,,,,) Constructor C1_0(,,,,,) Constructor C1_0(,,,,) Constructor C1_0(,,,) Constructor C1_0(,,) Constructor C1_0(,) Constructor C1_0Either Constructor C1_1Either Constructor C1_0Maybe Constructor C1_1Maybe Constructor C1_0[] Constructor C1_1[] Constructor C1_0() Constructor C1_0Ordering Constructor C1_1Ordering Constructor C1_2Ordering Constructor C1_0Bool Constructor C1_1Bool Constructor C_Char Constructor C_Double Constructor C_Float Constructor C_IntClass for datatypes that represent records
Datatype to represent the fixity of a constructor. An infix | declaration directly corresponds to an application of Infix
.
Datatype to represent the arity of a tuple.
Generic type classesRepresentable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.
Associated Types
Generic representation type
Methods
Convert from the datatype to its representation
Convert from the representation to the datatype
Instances
Generic Bool Generic Char Generic Double Generic Float Generic Int Generic Ordering Generic () Generic [a] Generic (Maybe a) Generic (Either a b) Generic (a, b) Generic (a, b, c) Generic (a, b, c, d) Generic (a, b, c, d, e) Generic (a, b, c, d, e, f) Generic (a, b, c, d, e, f, g)Representable types of kind * -> * (not yet derivable)
Associated Types
Generic representation type
Methods
from1 :: f a -> Rep1 f aSource
Convert from the datatype to its representation
Convert from the representation to the datatype
Instances
Generic1 [] Generic1 Maybe Generic1 (Either a) Generic1 ((,) a) Generic1 ((,,) a b) Generic1 ((,,,) a b c) Generic1 ((,,,,) a b c d) Generic1 ((,,,,,) a b c d e) Generic1 ((,,,,,,) a b c d e f)RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4