CurryInfo: icurry-3.2.0 / ICurry.Interpreter.addVarDecls

definition: Info
 
addVarDecls :: Graph -> IEnv -> [IVarDecl] -> (Graph,IEnv)
addVarDecls g env []                     = (g,env)
addVarDecls g env (IVarDecl  v : vdecls) = addVarDecls g ((v,0) : env) vdecls
addVarDecls g env (IFreeDecl v : vdecls) =
  let (g1,fn) = addNode FreeNode g
  in addVarDecls g1 ((v,fn) : env) vdecls
demand: Info
 argument 3
deterministic: Info
 deterministic operation
documentation: Info
 
Adds variable declarations to the graph and environment.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,{[]}) |-> {(,)} || (_,_,{:}) |-> {(,)}}
name: Info
 addVarDecls
precedence: Info
 no precedence defined
result-values: Info
 {(,)}
signature: Info
 ICurry.Graph.Graph -> [(Prelude.Int, Prelude.Int)] -> [ICurry.Types.IVarDecl]
-> (ICurry.Graph.Graph, [(Prelude.Int, Prelude.Int)])
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms