Language.PureScript.Interactive.Directive

purescript-0.15.15: PureScript Programming Language Compiler

Safe Haskell | None
Language | Haskell2010

Language.PureScript.Interactive.Directive

Description

Directives for PSCI.

Synopsis

- directiveStrings :: [(Directive, [String])]
- directiveStrings' :: [(String, Directive)]
- stringsFor :: Directive -> [String]
- stringFor :: Directive -> String
- directivesFor' :: String -> [(Directive, String)]
- directivesFor :: String -> [Directive]
- directiveStringsFor :: String -> [String]
- help :: [(Directive, String, String)]

# Documentation

directiveStrings :: [(Directive, [String])] #

A mapping of directives to the different strings that can be used to invoke them.

directiveStrings' :: [(String, Directive)] #

Like directiveStrings, but the other way around.

stringsFor :: Directive -> [String] #

Returns all possible string representations of a directive.

stringFor :: Directive -> String #

Returns the default string representation of a directive.

directivesFor' :: String -> [(Directive, String)] #

Returns the list of directives which could be expanded from the string argument, together with the string alias that matched.

directivesFor :: String -> [Directive] #

directiveStringsFor :: String -> [String] #

help :: [(Directive, String, String)] #

The help menu.