CurryInfo: icurry-3.2.0 / ICurry.Interpreter.funcOf

definition: Info
 
funcOf :: String -> [IFunction] -> IFunction
funcOf fn [] = error $ "Function '" ++ fn ++ "' not found!"
funcOf fn (fd@(IFunction (_,f,_) _ _ _ _) : funs) =
   if fn==f then fd else funcOf fn funs
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Returns the function with a given (unqualified) name.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{[]}) |-> _ || (_,{:}) |-> _}
name: Info
 funcOf
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> [ICurry.Types.IFunction] -> ICurry.Types.IFunction
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms