CurryInfo: currypath-3.0.0 / System.CurryPath.lookupModuleSourceInLoadPath

definition:
 
lookupModuleSourceInLoadPath :: ModulePath -> IO (Maybe (String,String))
lookupModuleSourceInLoadPath modpath = do
  loadpath <- getLoadPathForModule modpath
  lookupModuleSource loadpath modpath
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
Returns a directory name and the actual source file name for
a given module name (where a possible `curry` suffix is stripped off)
by looking up the module source in the current load path.
If the module is hierarchical, the directory is the top directory
of the hierarchy.
Returns Nothing if there is no corresponding source file.
failfree:
 <FAILING>
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_) |-> _}
name:
 lookupModuleSourceInLoadPath
precedence:
 no precedence defined
result-values:
 _
signature:
 String -> Prelude.IO (Prelude.Maybe (String, String))
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term