Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Help d f k = Help {
- help_result :: HelpInh d -> HelpResult d
- help_schema :: Schema d f k
- runHelp :: SchemaDoc d => HelpInh d -> Help d f k -> d
- docHelp :: SchemaDoc d => Indentable d => SchemaDoc d => Help d f k -> d
- coerceHelp :: Help d f k -> Help d f' k'
- data HelpInh d = HelpInh {
- helpInh_message :: !(Maybe d)
- helpInh_command_indent :: !Indent
- helpInh_tag_indent :: !Indent
- helpInh_schema :: !(SchemaInh d)
- helpInh_helpless_options :: !Bool
- helpInh_command_rule :: !Bool
- helpInh_full :: !Bool
- defHelpInh :: SchemaDoc d => HelpInh d
- type HelpResult d = Forest (HelpNode, d)
- defHelpResult :: Monoid d => HelpResult d
- data HelpNode
- runHelpNode :: SchemaDoc d => Tree (HelpNode, d) -> d
- runHelpNodes :: SchemaDoc d => HelpInh d -> Forest (HelpNode, d) -> d
- type HelpResponseArgs = SchemaResponseArgs
- data HelpPerm d k a = HelpPerm (HelpInh d -> HelpResult d) (SchemaPerm d k a)
Type Help
Help | |
|
Instances
coerceHelp :: Help d f k -> Help d f' k' Source #
Type HelpInh
Configuration inherited top-down.
HelpInh | |
|
defHelpInh :: SchemaDoc d => HelpInh d Source #
Type HelpResult
type HelpResult d = Forest (HelpNode, d) Source #
defHelpResult :: Monoid d => HelpResult d Source #
Type HelpNode
Type HelpPerm
HelpPerm (HelpInh d -> HelpResult d) (SchemaPerm d k a) |
Instances
SchemaDoc d => CLI_Help (HelpPerm d) Source # | |
Functor (HelpPerm d k) Source # | |
Applicative (HelpPerm d k) Source # | |
Defined in Symantic.CLI.Help | |
type HelpConstraint (HelpPerm d) d' Source # | |
Defined in Symantic.CLI.Help |