modulo-1.5: Modular C code generator

PortabilityGHC
Stabilityexperimental
Maintainerhans@hanshoglund.se
Safe HaskellNone

Language.Modulo.Util.Mangle

Description

Manglers for various kinds of identifiers.

Synopsis

Documentation

mixedCase :: [String] -> StringSource

Mangle an indentifier in mixed case, i.e. [foo, bar] becomes fooBar.

capitalCase :: [String] -> StringSource

Mangle an indentifier in capital case, i.e. [foo, bar] becomes FooBar.

sepCase :: [String] -> StringSource

Mangle an indentifier using the underscore as separator, i.e. [foo, bar] becomes foo_bar.