| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
YamlParse.Applicative.Pretty
Synopsis
- prettySchema :: Schema -> Text
- newtype Comments = Comments {
- commentsList :: [Doc ()]
- emptyComments :: Comments
- comment :: Text -> Comments
- schemaDoc :: Schema -> Doc ()
Documentation
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
Constructors
| Comments | |
Fields
| |
emptyComments :: Comments Source #
No comments