CurryInfo: call-analysis-3.2.0 / Names.replaceNonIdChars

definition: Info
 
replaceNonIdChars :: String -> String -> String -> String
replaceNonIdChars pfxNonOp pfxOp str = case strings of
  []  -> error "replaceNonIdChars: empty identifier"
  [s] -> if isAlphaNum (head str)
            then pfxNonOp ++ s
            else pfxOp    ++ s
  _   -> pfxOp ++ intercalate "_" strings
 where strings       = separateAndReplace isIdentChar showOpChar str
       isIdentChar c = isAlphaNum c || c == '_' || c == '\''
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
| replaces characters that are not valid haskell identifiers,
| if there were no characters replaced, the first prefix,
| otherwise the snd prefix ist prepended
failfree: Info
 (_, _, {:})
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 replaceNonIdChars
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> String -> 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