yamlparse-applicative-0.1.0.1: Declaritive configuration parsing with free docs

Safe HaskellNone
LanguageHaskell2010

YamlParse.Applicative.Pretty

Synopsis

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.

newtype Comments Source #

A list of comments

Constructors

Comments 

Fields

comment :: Text -> Comments Source #

A raw text as comments

schemaDoc :: Schema -> Doc () Source #

Prettyprint a Schema