|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| A Selector is a pair of an access function and a modifying function
for reading and updating parts of a composite type
| | Constructors | | S | | | getS :: s -> a | | | setS :: a -> s -> s | |
|
|
|
|
|
|
|
|
|
| Alias for constructor S
|
|
|
|
|
|
| class Comp1 s a | s -> a where | Source |
|
| Selectors for pairs and 3-tuples: comp1, comp2, comp3,
this can be extended to n-tuples
| | | Methods | |
|
|
| class Comp2 s a | s -> a where | Source |
|
|
|
| class Comp3 s a | s -> a where | Source |
|
|
|
| Produced by Haddock version 2.6.1 |