Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
_OrNotZero :: Prism (NotZeroOr a x) (NotZeroOr a y) x y Source
isoNotZeroOr :: Iso (NotZeroOr a x) (NotZeroOr a x) (Either (NotZero a) x) (Either (NotZero a) x) Source
newtype NotZeroOrT a f x Source
NotZeroOrT (f (NotZeroOr a x)) |
MonadTrans (NotZeroOrT a) | |
BindTrans (NotZeroOrT a) | |
Monad f => Monad (NotZeroOrT a f) | |
Functor f => Functor (NotZeroOrT a f) | |
Applicative f => Applicative (NotZeroOrT a f) | |
Apply f => Apply (NotZeroOrT a f) | |
(Apply f, Monad f) => Bind (NotZeroOrT a f) |
isoNotZeroOrT :: Iso (NotZeroOr a x) (NotZeroOr b y) (NotZeroOrT a Identity x) (NotZeroOrT b Identity y) Source