definition:
|
tConsName :: TypeExpr -> QName
tConsName texpr = case texpr of
(TCons name _) -> name
_ -> error "FlatCurryGoodies.tConsName: no constructed type"
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- get name from constructed type
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({TCons}) |-> _ || ({TVar}) |-> _ || ({FuncType}) |-> _ || ({ForallType}) |-> _}
|
name:
|
tConsName
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
FlatCurry.Types.TypeExpr -> (String, String)
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|