|
definition: |
tyVarsOf :: TypeExpr -> [TVarIName] tyVarsOf (TVar tv) = [tv] tyVarsOf (FuncType t1 t2) = tyVarsOf t1 `union` tyVarsOf t2 tyVarsOf (TCons _ tys) = foldr union [] (map tyVarsOf tys) tyVarsOf (ForallType tvs _ ty) = tyVarsOf ty \\ map fst tvs |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({TVar}) |-> {:} || ({FuncType}) |-> _ || ({TCons}) |-> _ || ({ForallType}) |-> _}
|
|
name: |
tyVarsOf |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
AbstractHaskell.Types.TypeExpr -> [(Prelude.Int, String)] |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |