Safe Haskell | None |
---|---|
Language | Haskell2010 |
Directives for PSCI.
Synopsis
- directives :: [Directive]
- directiveStrings :: [(Directive, [String])]
- directiveStrings' :: [(String, Directive)]
- strings :: [String]
- stringsFor :: Directive -> [String]
- stringFor :: Directive -> String
- directivesFor' :: String -> [(Directive, String)]
- directivesFor :: String -> [Directive]
- directiveStringsFor :: String -> [String]
- parseDirective :: String -> Maybe Directive
- help :: [(Directive, String, String)]
Documentation
directives :: [Directive] Source #
List of all avaliable directives.
directiveStrings :: [(Directive, [String])] Source #
A mapping of directives to the different strings that can be used to invoke them.
directiveStrings' :: [(String, Directive)] Source #
Like directiveStrings, but the other way around.
stringsFor :: Directive -> [String] Source #
Returns all possible string representations of a directive.
directivesFor' :: String -> [(Directive, String)] Source #
Returns the list of directives which could be expanded from the string argument, together with the string alias that matched.
directivesFor :: String -> [Directive] Source #
directiveStringsFor :: String -> [String] Source #