Safe Haskell | None |
---|---|
Language | Haskell98 |
- data MethodInvocation m = MkMethodInvocation {
- mi_name :: !MethodName
- mi_arguments :: !(Arguments m)
- class Monad m => ResponderInterface m a | a -> m where
- fromMethodList :: [(MethodName, MethodCompiled m)] -> m a
- dispatch :: a -> Invocant m -> MethodInvocation m -> m (Invocant m)
- data Monad m => NoResponse m = NoResponse
- emptyResponder :: (Typeable1 m, Monad m) => AnyResponder m
- data MethodTable m = MkMethodTable {
- mt_methods :: !(AtomMap (MethodCompiled m))
- data AnyResponder m = forall c . ResponderInterface m c => MkResponder !(m c)
- fromInvocant :: forall m b. (Typeable1 m, Monad m, Typeable b) => Arguments m -> m b
- ivDispatch :: (Typeable1 m, Monad m) => Invocant m -> MethodInvocation m -> m (Invocant m)
- __ :: (Typeable1 m, Monad m, Ord a, Show a, Typeable a) => a -> Invocant m
- mkArgs :: (Typeable1 m, Monad m) => [Invocant m] -> Arguments m
- module MO.Base
Documentation
data MethodInvocation m Source
MkMethodInvocation | |
|
class Monad m => ResponderInterface m a | a -> m where Source
fromMethodList :: [(MethodName, MethodCompiled m)] -> m a Source
dispatch :: a -> Invocant m -> MethodInvocation m -> m (Invocant m) Source
(Typeable1 m, Monad m) => ResponderInterface m (MethodTable m) | |
Monad m => ResponderInterface m (NoResponse m) |
emptyResponder :: (Typeable1 m, Monad m) => AnyResponder m Source
data MethodTable m Source
This is a static method table.
MkMethodTable | |
|
(Typeable1 m, Monad m) => ResponderInterface m (MethodTable m) |
data AnyResponder m Source
forall c . ResponderInterface m c => MkResponder !(m c) |
Typeable ((* -> *) -> *) AnyResponder |
ivDispatch :: (Typeable1 m, Monad m) => Invocant m -> MethodInvocation m -> m (Invocant m) Source
module MO.Base