Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Colour
- prettySchemaDoc :: forall a. YamlSchema a => Text
- prettyParserDoc :: Parser i o -> Text
- prettyColourisedSchemaDoc :: forall a. YamlSchema a => Text
- prettyColourisedParserDoc :: Parser i o -> Text
- prettySchema :: Schema -> Text
- prettyColourisedSchema :: Schema -> Text
- newtype Comments = Comments {
- commentsList :: [Doc Colour]
- emptyComments :: Comments
- comment :: Text -> Comments
- schemaDoc :: Schema -> Doc Colour
Documentation
prettySchemaDoc :: forall a. YamlSchema a => 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.
prettyColourisedSchemaDoc :: forall a. YamlSchema a => Text Source #
Render pretty colourised documentation about the yamlSchema
of a type
This is meant for humans. The output may look like YAML but it is not.
prettyColourisedParserDoc :: Parser i o -> Text Source #
Render pretty colourised 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.
prettyColourisedSchema :: Schema -> Text Source #
Render a schema as pretty and colourised 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