|
Happstack.State.ComponentSystem |
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
Equivalent of [] for type level lists. Used for Components that have no
dependencies
| Constructors | | Instances | |
|
|
|
Type level Cons for enumerating type dependencies of a Component
| Constructors | | Instances | |
|
|
|
| Instances | |
|
|
|
| Instances | |
|
|
|
Method is the actual type that all Updates and Querys eventually
get lifted into via mkMethods.
| Constructors | | Instances | |
|
|
|
Displays the type of a Method
|
|
|
Class for enumerating the set of defined methods by the type of the state.
Instances should not be defined directly, but using mkMethods
| | Methods | |
|
|
|
Constructors | | Instances | |
|
|
|
State type -> method map
|
|
|
State type -> all versions
|
|
|
In order to be used as a part of Happstack's MACID state, a data type
needs to be an instance of Component. The minimal definition is
an initialValue and the type corresponding to the set of Dependencies.
Note that the SubHandlers condition will be automatically met if the
Dependencies is built from End and ':+:' with other instances of
Component and Methods
| | Associated Types | | | Methods | |
|
|
class SubHandlers a where | Source |
|
SubHandlers is used to build up the set of components corresponding to
the instance type.
| | Methods | | | Instances | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
An error is thrown when this is evaluated.
|
|
Produced by Haddock version 2.6.1 |