Safe Haskell | None |
---|
Documentation
Only functions of this class can be exposed
type Dispatcher = Text -> Maybe ValueFnSource
Dispatcher function gets method name and returns corresponding function, or Nothing if there is no such method.
generateDispatcher :: API -> Q [Dec]Source
Generate dispatcher function. This will generate function called dispatcher
.