|
| Generics.MultiRec.Constructor | | Portability | non-portable | | Stability | experimental | | Maintainer | generics@haskell.org |
|
|
|
| Description |
| This module contains a class for datatypes that represent data
constructors.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| class Constructor c where | Source |
|
| Class for datatypes that represent data constructors.
For non-symbolic constructors, only conName has to be defined.
The weird argument is supposed to be instantiated with C from
base, hence the complex kind.
| | | Methods | | conName :: t c (f :: (* -> *) -> * -> *) (r :: * -> *) ix -> String | Source |
| | | conFixity :: t c (f :: (* -> *) -> * -> *) (r :: * -> *) ix -> Fixity | Source |
|
|
|
|
|
| Datatype to represent the fixity of a constructor. An infix declaration
directly corresponds to an application of Infix.
| | Constructors | | Instances | |
|
|
|
| Constructors | | LeftAssociative | | | RightAssociative | | | NotAssociative | |
| Instances | |
|
|
| Produced by Haddock version 2.4.2 |