Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data Description (sym :: Symbol)
- data Summary (sym :: Symbol)
Documentation
data Description (sym :: Symbol) Source #
Add more verbose description for (part of) API.
Example:
>>>
:{
type MyApi = Description "This comment is visible in multiple Servant interpretations \ \and can be really long if necessary. \ \Haskell multiline support is not perfect \ \but it's still very readable." :> Get '[JSON] Book :}