module Control.Isomorphism.Partial.Ext.Constructors (
cons', nil',
just', nothing',
left', right'
) where
import Control.Isomorphism.Partial
(Iso, inverse,
cons, nil,
just, nothing, left, right)
nil' :: Iso [alpha] ()
nil' = inverse nil
cons' :: Iso [alpha] (alpha, [alpha])
cons' = inverse cons
just' :: Iso (Maybe alpha) alpha
just' = inverse just
nothing' :: Iso (Maybe a) ()
nothing' = inverse nothing
left' :: Iso (Either alpha b) alpha
left' = inverse left
right' :: Iso (Either a alpha) alpha
right' = inverse right