Copyright | (C) 2012-2016 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell98 |
Documentation
This type is used internally by the Prism
code to
provide efficient access to the two parts of a Prism
.
Instances
Choice (Market a b) Source # | |
Profunctor (Market a b) Source # | |
dimap :: (a0 -> b0) -> (c -> d) -> Market a b b0 c -> Market a b a0 d # lmap :: (a0 -> b0) -> Market a b b0 c -> Market a b a0 c # rmap :: (b0 -> c) -> Market a b a0 b0 -> Market a b a0 c # (#.) :: Coercible * c b0 => (b0 -> c) -> Market a b a0 b0 -> Market a b a0 c # (.#) :: Coercible * b0 a0 => Market a b b0 c -> (a0 -> b0) -> Market a b a0 c # | |
Functor (Market a b s) Source # | |