Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.PureScript.Interactive.Directive
Description
Directives for PSCI.
- 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
- hasArgument :: Directive -> Bool
- 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 #
hasArgument :: Directive -> Bool Source #
True if the given directive takes an argument, false otherwise.