definition:
|
findFunDeclInProgText :: String -> String -> Int
findFunDeclInProgText progtext fname =
findFirstDeclLine (showCurryId fname) (lines progtext) 1
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
---------------------------------------------------------------------
-- find a function declaration in a program text:
|
failfree:
|
(_, {:})
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_) |-> _}
|
name:
|
findFunDeclInProgText
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
String -> String -> Prelude.Int
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|