Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Jectivity
- type Partial a b = forall m. MonadThrow m => a -> m b
- type (-?>) a b = Partial a b
Documentation
see "Enumerate.Function.Reify.getJectivityM"
type Partial a b = forall m. MonadThrow m => a -> m b Source
a (safely-)partial function. i.e. a function that:
- fails only via the
throwM
method ofMonadThrow
- succeeds only via the
return
method ofMonad