Safe Haskell | None |
---|---|
Language | Haskell2010 |
Symantic for Maybe
.
- class Sym_Maybe term where
- tyMaybe :: Source src => LenInj vs => Type src vs a -> Type src vs (Maybe a)
- teMaybe_Nothing :: TermDef Maybe '[Proxy a] (() #> Maybe a)
- teMaybe_Just :: TermDef Maybe '[Proxy a] (() #> (a -> Maybe a))
- teMaybe_maybe :: TermDef Maybe '[Proxy a, Proxy b] (() #> (b -> (a -> b) -> Maybe a -> b))
Class Sym_Maybe
class Sym_Maybe term where Source #
_Nothing :: term (Maybe a) Source #
_Just :: term a -> term (Maybe a) Source #
maybe :: term b -> term (a -> b) -> term (Maybe a) -> term b Source #
_Nothing :: Sym_Maybe (UnT term) => Trans term => term (Maybe a) Source #
_Just :: Sym_Maybe (UnT term) => Trans term => term a -> term (Maybe a) Source #
maybe :: Sym_Maybe (UnT term) => Trans term => term b -> term (a -> b) -> term (Maybe a) -> term b Source #