Safe Haskell | None |
---|
Documentation
type Dispatcher m = Text -> Maybe (ValueFn m)Source
Dispatcher function gets method name and returns corresponding function, or Nothing if there is no such method.
generateDispatcherT :: Name -> API -> Q [Dec]Source
Generate dispatcher function. This will generate function called dispatcher
.
generateDispatcher :: API -> Q [Dec]Source