Commit 162f1889 authored by simonmar's avatar simonmar
Browse files

[project @ 2004-03-05 15:05:28 by simonmar]

parent 64235b3c
......@@ -87,6 +87,10 @@ lookupFinderCache mod_name = do
-- The ModLocation contains the names of all the files associated with
-- that module: its source file, .hi file, object file, etc.
-- Returns:
-- Right (Module, ModLocation) if the module was found
-- Left [FilePath] if the module was not found, and here
-- is a list of all the places we looked
findModule :: ModuleName -> IO (Either [FilePath] (Module, ModLocation))
findModule name = do
r <- lookupFinderCache name
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment