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 SchemaSeq d k a = SchemaSeq {
- schemaSeq_finalizer :: forall b c. Schema d (b -> c) c -> Schema d (b -> c) c
- schemaSeq_alternatives :: [Schema d (a -> k) k]
- 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 SchemaSeq
SchemaSeq | |
|
Instances
SchemaDoc d => CLI_Help (SchemaSeq d) Source # | |
Defined in Symantic.CLI.Schema type HelpConstraint (SchemaSeq d) d :: Constraint Source # | |
Functor (SchemaSeq d k) Source # | |
Applicative (SchemaSeq d k) Source # | |
Defined in Symantic.CLI.Schema pure :: a -> SchemaSeq d k a # (<*>) :: SchemaSeq d k (a -> b) -> SchemaSeq d k a -> SchemaSeq d k b # liftA2 :: (a -> b -> c) -> SchemaSeq d k a -> SchemaSeq d k b -> SchemaSeq d k c # (*>) :: SchemaSeq d k a -> SchemaSeq d k b -> SchemaSeq d k b # (<*) :: SchemaSeq d k a -> SchemaSeq d k b -> SchemaSeq d k a # | |
type HelpConstraint (SchemaSeq d) d' Source # | |
Defined in Symantic.CLI.Schema |
Type SchemaPerm
data SchemaPerm d k a Source #
SchemaPerm | |
|