Naming Module
Helpers for names that must not be wrapped in double backticks.
Functions and values
| Function or value |
Description
|
Full Usage:
Naming.isParenthesizedOperatorOrActivePattern name
Parameters:
string
Returns: bool
|
True for a parenthesized active pattern name (`(|Even|Odd|)`, `(|Int|_|)`) or operator (`( +! )`).
|
Full Usage:
Naming.isSymbolicOperator name
Parameters:
string
Returns: bool
|
True for a symbolic operator name such as `*`, `*+` or `>>=`.
|
Full Usage:
Naming.parenthesizedDisplayName name
Parameters:
string
Returns: string
|
The display form of a parenthesized operator or active pattern. Operators get spaces inside the parentheses (`( *+ )`), since `(*` would otherwise start a comment.
|
Full Usage:
Naming.splitQualified name
Parameters:
string
Returns: string list
|
Splits a qualified name on the dots that are not inside double backticks (`` System.``My.Type`` `` → `System`, ``` ``My.Type`` ```).
|
Fabulous.AST