Skip to content

Commit b1f0af3

Browse files
committed
Remove redundant $
1 parent 9902ab7 commit b1f0af3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ghcide/src/Development/IDE/Core/Actions.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ lookupMod HieDbWriter{indexQueue} hieFile moduleName uid _boot = MaybeT $ do
7272
Just projectRoot -> do
7373
-- Database writes happen asynchronously. We use an MVar to mark
7474
-- completion of the database update.
75-
completionToken <- liftIO $ newEmptyMVar
75+
completionToken <- liftIO newEmptyMVar
7676
-- Write out the contents of the dependency source to the
7777
-- .hls/dependencies directory, generate a URI for that
7878
-- location, and update the HieDb database with the source
@@ -111,7 +111,7 @@ lookupMod HieDbWriter{indexQueue} hieFile moduleName uid _boot = MaybeT $ do
111111
HieDb.addSrcFile db hieFile writeOutPath False
112112
-- Mark completion of the database update.
113113
putMVar completionToken ()
114-
pure $ moduleUri
114+
pure moduleUri
115115
where
116116
-- The source will be written out in a directory from the
117117
-- name and hash of the package the dependency module is

0 commit comments

Comments
 (0)