Kindly.Iso
data Iso cat a b Source #
An invertible mapping between a and b in category cat.
a
b
cat
fwd . bwd ≡ id bwd . fwd ≡ id
fwd
.
bwd
id
Constructors
Fields
Defined in Kindly.Functor
Methods
map1 :: forall (a :: from) (b :: from). (a <-> b) -> Endo a -> Endo b Source #
Defined in Kindly.Iso
id :: forall (a :: k0). Iso cat a a #
(.) :: forall (b :: k0) (c :: k0) (a :: k0). Iso cat b c -> Iso cat a b -> Iso cat a c #
type (<->) = Iso (->) Source #