definition:
|
readFlatCurryFileInLoadPath :: (String -> IO _) -> String -> [String] -> IO Prog
readFlatCurryFileInLoadPath prt mod loadpath = do
mbfcyfile <- findFileWithSuffix (flatCurryFileName mod) [""] loadpath
maybe (error $ "FlatCurry file of module "++mod++" not found!")
(readFlatCurryFileAndReport prt mod)
mbfcyfile
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--------------------------------------------------------------------------
-- Read an existing(!) FlatCurry file w.r.t. current load path:
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,_) |-> _}
|
name:
|
readFlatCurryFileInLoadPath
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
(String -> Prelude.IO a) -> String -> [String]
-> Prelude.IO FlatCurry.Types.Prog
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|