| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Separated.Before
Contents
Documentation
An s that comes before an a
Constructors
| Before s a |
Instances
| Bitraversable Before Source # |
|
| Bifoldable Before Source # |
|
| Bifunctor Before Source # | |
| Swapped Before Source # | |
| Functor (Before s) Source # | |
| Foldable (Before s) Source # | |
| Traversable (Before s) Source # | |
| Eq s => Eq1 (Before s) Source # | |
| Ord s => Ord1 (Before s) Source # | |
| Show s => Show1 (Before s) Source # | |
| Generic1 * (Before s) Source # | |
| (Eq a, Eq s) => Eq (Before s a) Source # | |
| (Ord a, Ord s) => Ord (Before s a) Source # | |
| (Show a, Show s) => Show (Before s a) Source # | |
| Generic (Before s a) Source # | |
| type Rep1 * (Before s) Source # | |
| type Rep (Before s a) Source # | |
Isos
beforeAfter :: Iso (After a s) (After b t) (Before s a) (Before t b) Source #
is isomorphic to Before s aAfter a s
beforeAfter==fromafterBefore