From 14f5768c90b4eda7710bc27575eab51ca9c0a471 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Wed, 30 Apr 2014 10:51:34 +0900 Subject: [PATCH] doc. --- Language/Haskell/GhcMod/Boot.hs | 4 ++-- Language/Haskell/GhcMod/Find.hs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Language/Haskell/GhcMod/Boot.hs b/Language/Haskell/GhcMod/Boot.hs index fef19a2..cba7341 100644 --- a/Language/Haskell/GhcMod/Boot.hs +++ b/Language/Haskell/GhcMod/Boot.hs @@ -10,13 +10,13 @@ import Language.Haskell.GhcMod.Lang import Language.Haskell.GhcMod.List import Language.Haskell.GhcMod.Types --- | Print necessary information for front-end booting. +-- | Printing necessary information for front-end booting. bootInfo :: Options -> Cradle -> IO String bootInfo opt cradle = withGHC' $ do initializeFlagsWithCradle opt cradle boot opt --- | Print necessary information for front-end booting. +-- | Printing necessary information for front-end booting. boot :: Options -> Ghc String boot opt = do mods <- modules opt diff --git a/Language/Haskell/GhcMod/Find.hs b/Language/Haskell/GhcMod/Find.hs index 0a40927..63e5d77 100644 --- a/Language/Haskell/GhcMod/Find.hs +++ b/Language/Haskell/GhcMod/Find.hs @@ -30,7 +30,7 @@ type Symbol = String -- | Database from 'Symbol' to modules. newtype SymMdlDb = SymMdlDb (Map Symbol [ModuleString]) --- | Find modules to which the symbol belong. +-- | Finding modules to which the symbol belong. findSymbol :: Options -> Cradle -> Symbol -> IO String findSymbol opt cradle sym = withGHC' $ do initializeFlagsWithCradle opt cradle