| Copyright | (c) 2020 Emily Pillmore |
|---|---|
| License | BSD-style |
| Maintainer | Emily Pillmore <emilypi@cohomolo.gy> |
| Stability | Experimental |
| Portability | FlexibleContexts, MPTC |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Tuple.Strict.Lens.Iso
Contents
Documentation
class Bifunctor p => Swapped (p :: Type -> Type -> Type) where #
This class provides for symmetric bifunctors.
Methods
Instances
| Swapped Either | |
| Swapped (,) | |
Defined in Control.Lens.Iso | |
| Swapped T2 Source # | |
| Swapped ((,,) x) | |
Defined in Control.Lens.Iso | |
| Swapped (T3 x) Source # | |
| Swapped ((,,,) x y) | |
Defined in Control.Lens.Iso | |
| Swapped (T4 x y) Source # | |
| Swapped ((,,,,) x y z) | |
Defined in Control.Lens.Iso | |
| Swapped p => Swapped (Flip p) | |
| Swapped (T5 x y z) Source # | |
| Swapped ((,,,,,) x y z w) | |
Defined in Control.Lens.Iso | |
| (Swapped p, Swapped q) => Swapped (Sum p q) | |
| (Swapped f, Swapped g) => Swapped (Product f g) | |
| Swapped (T6 x y z w) Source # | |
| Swapped ((,,,,,,) x y z w v) | |
Defined in Control.Lens.Iso | |
| (Functor f, Swapped p) => Swapped (Tannen f p) | |
| Swapped (T7 x y z w v) Source # | |
| Swapped (T8 x y z w v u) Source # | |
| (f ~ g, Functor f, Swapped p) => Swapped (Biff p f g) | |
| Swapped (T9 a b c d e f g) Source # | |
class Strict lazy strict | lazy -> strict, strict -> lazy where #
Ad hoc conversion between "strict" and "lazy" versions of a structure,
such as Text or ByteString.
Instances
| Strict ByteString ByteString | |
Defined in Control.Lens.Iso Methods | |
| Strict Text Text | |
| Strict (Identity a) (T1 a) Source # | |
| Strict (a, b) (T2 a b) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
| Strict (ST s a) (ST s a) | |
| Strict (a, b, c) (T3 a b c) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
| Strict (StateT s m a) (StateT s m a) | |
| Strict (WriterT w m a) (WriterT w m a) | |
| Strict (a, b, c, d) (T4 a b c d) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
| Strict (a, b, c, d, e) (T5 a b c d e) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
| Strict (RWST r w s m a) (RWST r w s m a) | |
| Strict (a, b, c, d, e, f) (T6 a b c d e f) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
| Strict (a, b, c, d, e, f, g) (T7 a b c d e f g) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
| Strict (a, b, c, d, e, f, g, h) (T8 a b c d e f g h) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
| Strict (a, b, c, d, e, f, g, h, i) (T9 a b c d e f g h i) Source # | |
Defined in Data.Tuple.Strict.Lens.Iso | |
Orphan instances
| Swapped T2 Source # | |
| Swapped (T3 x) Source # | |
| Strict (Identity a) (T1 a) Source # | |
| Swapped (T4 x y) Source # | |
| Strict (a, b) (T2 a b) Source # | |
| Swapped (T5 x y z) Source # | |
| Strict (a, b, c) (T3 a b c) Source # | |
| Swapped (T6 x y z w) Source # | |
| Strict (a, b, c, d) (T4 a b c d) Source # | |
| Swapped (T7 x y z w v) Source # | |
| Strict (a, b, c, d, e) (T5 a b c d e) Source # | |
| Swapped (T8 x y z w v u) Source # | |
| Strict (a, b, c, d, e, f) (T6 a b c d e f) Source # | |
| Swapped (T9 a b c d e f g) Source # | |
| Strict (a, b, c, d, e, f, g) (T7 a b c d e f g) Source # | |
| Strict (a, b, c, d, e, f, g, h) (T8 a b c d e f g h) Source # | |
| Strict (a, b, c, d, e, f, g, h, i) (T9 a b c d e f g h i) Source # | |