| Maintainer | Brandon Chinn <brandon@leapyear.io> |
|---|---|
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.Aeson.Schema.Show
Description
Utilities for showing a schema. Meant to be imported qualified.
Synopsis
Documentation
data SchemaType Source #
SchemaType, but for printing.
Constructors
| SchemaBool | |
| SchemaInt | |
| SchemaDouble | |
| SchemaText | |
| SchemaCustom String | |
| SchemaMaybe SchemaType | |
| SchemaList SchemaType | |
| SchemaObject [(String, SchemaType)] |
Instances
| Show SchemaType Source # | |
Defined in Data.Aeson.Schema.Show Methods showsPrec :: Int -> SchemaType -> ShowS # show :: SchemaType -> String # showList :: [SchemaType] -> ShowS # | |
showSchemaType :: SchemaType -> String Source #
Pretty show the given SchemaType.