Safe Haskell | None |
---|---|
Language | Haskell98 |
- data (Typeable1 m, Monad m) => Invocant m = forall a . (Show a, Eq a, Ord a, Typeable a) => MkInvocant a (AnyResponder m)
- class Monad m => Codeable m c where
- newtype NoCode m = NoCode (Invocant m)
- newtype PureCode = PureCode (forall m. (Typeable1 m, Monad m) => Arguments m -> Invocant m)
- newtype Monad m => HsCode m = HsCode (Arguments m -> m (Invocant m))
- type Arguments m = Capt (Invocant m)
- withInvocant :: (Typeable1 m, Monad m) => Arguments m -> Invocant m -> Arguments m
- getInvocant :: (Typeable1 m, Monad m) => Arguments m -> Maybe (Invocant m)
- namedArg :: (Typeable1 m, Monad m) => Arguments m -> Atom -> Maybe (Invocant m)
- stubInvocant :: (Typeable1 m, Monad m) => Invocant m
Documentation
data (Typeable1 m, Monad m) => Invocant m Source
forall a . (Show a, Eq a, Ord a, Typeable a) => MkInvocant a (AnyResponder m) |
stub code which always return the same
Pure code that works with any monad.
stubInvocant :: (Typeable1 m, Monad m) => Invocant m Source