CurryInfo: makefile-3.0.0 / GenerateMakeFile.findSourceFileInLoadPath

definition: Info
 
findSourceFileInLoadPath :: String -> IO String
findSourceFileInLoadPath modname =
  lookupModuleSourceInLoadPath modname >>=
  maybe (error ("Curry file for module \""++modname++"\" not found!"))
        (return . dropLocal . snd)
 where
  dropLocal f = if take 2 f == "./" then drop 2 f else f
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
add a directory name for a Curry source file by looking up the
current load path (CURRYPATH):
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 findSourceFileInLoadPath
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> Prelude.IO String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term