Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 1d10408

Browse files
committed
Fix: haddock for hie-plugin-api
1 parent 0fc1c72 commit 1d10408

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hie-plugin-api/Haskell/Ide/Engine/GhcModuleCache.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ lookupComponentOptions fp = do
109109
lookupInCache
110110
:: FilePath
111111
-> GhcModuleCache
112-
-- | Called when file is in the current cradle
113112
-> (Bios.Cradle CabalHelper -> Bios.ComponentOptions -> a)
114-
-- | Called when file is a member of a cached cradle
113+
-- ^ Called when file is in the current cradle
115114
-> (CachedCradle -> a)
116-
-- | Default value to return if a cradle is not found
115+
-- ^ Called when file is a member of a cached cradle
117116
-> a
117+
-- ^ Default value to return if a cradle is not found
118118
-> a
119119
lookupInCache fp gmc cur cached def = case currentCradle gmc of
120120
Just (dirs, c, co) | any (`isPrefixOf` fp) dirs -> cur c co

0 commit comments

Comments
 (0)