Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- type TSSymbol = Word16
- fromTSSymbol :: forall symbol. Symbol symbol => TSSymbol -> symbol
- data SymbolType
- class (Bounded s, Enum s, Ix s, Ord s, Show s) => Symbol s where
- symbolType :: s -> SymbolType
- symbolToName :: SymbolType -> String -> String
- toHaskellCamelCaseIdentifier :: String -> String
- toHaskellPascalCaseIdentifier :: String -> String
- escapeOperatorPunctuation :: String -> String
- camelCase :: String -> String
- capitalize :: String -> String
Documentation
fromTSSymbol :: forall symbol. Symbol symbol => TSSymbol -> symbol Source #
data SymbolType Source #
Instances
class (Bounded s, Enum s, Ix s, Ord s, Show s) => Symbol s where Source #
symbolType :: s -> SymbolType Source #
symbolToName :: SymbolType -> String -> String Source #
capitalize :: String -> String Source #
Capitalize a String