|
definition: |
combineIds :: [String] -> String combineIds (name:names) = name ++ concatMap maybeAddUnderscore names where maybeAddUnderscore [] = "_" maybeAddUnderscore s@(c:_) = if isUpper c then s else '_' : s |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Combines a non-empty list of identifiers into a single identifier. Used in ERD transformation and code generation to create names for combined objects, e.g., relationships and foreign keys. |
|
failfree: |
{:}
|
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({:}) |-> _}
|
|
name: |
combineIds |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[String] -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |