| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Invertible.Profunctor
- class IsoProfunctor p where
Documentation
class IsoProfunctor p where Source #
Class IsoProfunctor represents a profunctor from Iso -> Hask (?)
dimapidid≡id
lmapid≡idrmapid≡id
dimapf g ≡lmapf.rmapg
dimap(f.g) (h.i) ≡dimapg h.dimapf ilmap(f.g) ≡lmapg.lmapfrmap(f.g) ≡rmapf.rmapg
Methods
dimap :: (a <-> b) -> (c <-> d) -> p b c -> p a d Source #
Instances
| IsoProfunctor (Bijection (->)) Source # | |
| IsoProfunctor b => IsoProfunctor (FreeA b) Source # | |