CurryInfo: curry-source-1.2.0 / Language.Curry.StringClassifier.plainCode

definition:
plainCode :: Tokens -> String
plainCode (ModuleHead s:ts) = case ts of
                            Code c : ts' -> s++drop 1 c++plainCode ts'
                            _ -> s++plainCode ts
plainCode (Code s:ts) = s++plainCode ts
plainCode (Text s:ts) = '\"':s++'\"':plainCode ts
plainCode (Letter s:ts) = '\'':s++'\'':plainCode ts
plainCode (BigComment _:ts) = plainCode ts
plainCode (SmallComment _:ts) = plainCode ts
plainCode (Meta s:ts) = "{+"++s++"+}"++plainCode ts
plainCode [] = ""
demand:
argument 1
deterministic:
deterministic operation
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({:}) |-> _ || ({[]}) |-> {[]}}
name:
plainCode
precedence:
no precedence defined
result-values:
_
signature:
[Token] -> String
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms