Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Schema d f k = Schema {}
- runSchema :: Monoid d => Schema d f k -> SchemaInh d -> d
- docSchema :: Monoid d => SchemaDoc d => Schema d f k -> d
- coerceSchema :: Schema d f k -> Schema d f' k'
- type SchemaDoc d = (Semigroup d, Monoid d, IsString d, Colorable16 d, Decorable d, Spaceable d, Indentable d, Wrappable d, From (Word Char) d, From (Word Text) d, From (Word String) d)
- data SchemaInh d = SchemaInh {
- schemaInh_op :: (Infix, Side)
- schemaInh_define :: Bool
- schemaInh_or :: d
- defSchemaInh :: SchemaDoc d => SchemaInh d
- pairIfNeeded :: SchemaDoc d => (Infix, Side) -> Infix -> d -> d
- docOrH :: Spaceable d => From (Word Char) d => d
- docOrV :: Spaceable d => From (Word Char) d => d
- data SchemaResponseArgs a
- data SchemaPerm d k a = SchemaPerm {
- schemaPerm_finalizer :: forall b c. Schema d (b -> c) c -> Schema d (b -> c) c
- schemaPerm_alternatives :: [Schema d (a -> k) k]
Type Schema
Instances
coerceSchema :: Schema d f k -> Schema d f' k' Source #
Class SchemaDoc
type SchemaDoc d = (Semigroup d, Monoid d, IsString d, Colorable16 d, Decorable d, Spaceable d, Indentable d, Wrappable d, From (Word Char) d, From (Word Text) d, From (Word String) d) Source #
Type SchemaInh
Inherited top-down.
SchemaInh | |
|
defSchemaInh :: SchemaDoc d => SchemaInh d Source #
data SchemaResponseArgs a Source #
Type SchemaPerm
data SchemaPerm d k a Source #
SchemaPerm | |
|