ghcide-2.13.0.0: The core of an IDE
Safe HaskellNone
LanguageGHC2021

Development.IDE.Core.LookupMod

Synopsis

Documentation

lookupMod Source #

Arguments

:: HieDbWriter

access the database

-> FilePath

The `.hie` file we got from the database

-> ModuleName 
-> Unit 
-> Bool

Is this file a boot file?

-> MaybeT IdeAction Uri 

Eventually this will lookup/generate URIs for files in dependencies, but not in the project. Right now, this is just a stub.

type LookupModule (m :: Type -> Type) = FilePath -> ModuleName -> Unit -> Bool -> MaybeT m Uri Source #

Gives a Uri for the module, given the .hie file location and the the module info The Bool denotes if it is a boot module