CurryInfo: ertools-3.0.0 / Database.ERD.Goodies.combineIds

definition: Info
 
combineIds :: [String] -> String
combineIds (name:names) = name ++ concatMap maybeAddUnderscore names
 where
  maybeAddUnderscore [] = "_"
  maybeAddUnderscore s@(c:_) = if isUpper c then s else '_' : s
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
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: Info
 {:}
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({:}) |-> _}
name: Info
 combineIds
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [String] -> String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term