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

definition:
isCode :: Token -> Bool
isCode x = case x of 
                    Code _ -> True
                    _ -> False
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- test for category "Code"
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({Code}) |-> {True} || ({SmallComment}) |-> _ || ({BigComment}) |-> _ || ({Text}) |-> _ || ({Letter}) |-> _ || ({ModuleHead}) |-> _ || ({Meta}) |-> _}
name:
isCode
precedence:
no precedence defined
result-values:
{False,True}
signature:
Token -> Prelude.Bool
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms