Safe Haskell | Safe-Inferred |
---|
Renaming functions for UGen descriptions.
Documentation
rename_input :: String -> StringSource
Rename parameters that conflict with Haskell keywords or
Prelude
functions, or which have otherwise unwieldy names.
map rename_input ["in","id"] == ["input","id_"]
rename_ugen :: String -> StringSource
Rename unit generators that conflict with Haskell keywords or
Prelude
functions.
map rename_ugen ["In","Out"] == ["in'","out"]
rename_eq_input :: U -> I -> StringSource
If the input name is the same as the ugen name, rename the input.
i_rename_db :: [String] -> I -> ISource
u_rename_db :: [U] -> U -> USource
Variant that renames inputs to avoid name coliisions with UGens.