definition:
|
defaultImportPaths :: ReplState -> IO [String]
defaultImportPaths rst = do
currypath <- getEnv "CURRYPATH"
let rclibs = rcValue (rcVars rst) "libraries"
return $ filter (/= ".") $ splitSearchPath currypath ++ splitSearchPath rclibs
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
---------------------------------------------------------------------------
--- The default import paths of the Curry compiler.
--- It consists of the path defined by the environment variable CURRYPATH,
--- and the "libraries" property defined in ~/.<compiler>rc
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_) |-> _}
|
name:
|
defaultImportPaths
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
REPL.State.ReplState -> Prelude.IO [String]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|