Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- prettySchemaDoc :: forall o i. YamlSchema o => Text
- prettyParserDoc :: Parser i o -> Text
- prettySchema :: Schema -> Text
- newtype Comments = Comments {
- commentsList :: [Doc ()]
- emptyComments :: Comments
- comment :: Text -> Comments
- schemaDoc :: Schema -> Doc ()
Documentation
prettySchemaDoc :: forall o i. YamlSchema o => Text Source #
Render pretty documentation about the yamlSchema
of a type
This is meant for humans. The output may look like YAML but it is not.
prettyParserDoc :: Parser i o -> Text Source #
Render pretty documentation about a parser
This is meant for humans. The output may look like YAML but it is not.
prettySchema :: Schema -> Text Source #
Render a schema as pretty text.
This is meant for humans. The output may look like YAML but it is not.
A list of comments
Comments | |
|
emptyComments :: Comments Source #
No comments