|
| Generics.Pointless.Lenses | | Portability | non-portable | | Stability | experimental | | Maintainer | hpacheco@di.uminho.pt |
|
|
|
| Description |
Pointless Lenses:
bidirectional lenses with point-free programming
This module defines the structure of lenses and provides Quickcheck procedures to test lens well-behavedness.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| The data type of lenses
| | Constructors | | Lens | | | get :: c -> a | | | put :: (a, c) -> c | | | create :: a -> c | |
|
|
|
|
|
| The type of natural lenses.
Lenses that encode bidirectional natural transformations.
|
|
|
| Increment a number.
|
|
|
| Decrement a number.
|
|
|
| QuickCheck procedure to test if a lens is well-behaved.
|
|
|
| QuickCheck procedure to test if a lens satisfies the PutGet law.
|
|
|
| QuickCheck procedure to test if a lens satisfies the GetPut law.
|
|
|
| QuickCheck procedure to test if a lens satisfies the CreateGet law.
|
|
| Produced by Haddock version 2.7.2 |