summaryrefslogtreecommitdiff
path: root/libraries/ghci
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-07-17 15:35:59 +0200
committerGabor Greif <ggreif@gmail.com>2017-07-18 14:08:22 +0200
commit935acb6f0de36822b46f8444199dbc37de784af4 (patch)
treeb6f25cebe2dd1f4cf3a6b73ceabc3d6c487ddd05 /libraries/ghci
parent12ae1fa51b2f59e37d6100359b494bee2192ef0a (diff)
downloadhaskell-935acb6f0de36822b46f8444199dbc37de784af4.tar.gz
Typos in comments and explanation for unusused imports
Diffstat (limited to 'libraries/ghci')
-rw-r--r--libraries/ghci/GHCi/InfoTable.hsc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/ghci/GHCi/InfoTable.hsc b/libraries/ghci/GHCi/InfoTable.hsc
index 8a9dfc2fa0..c553897b68 100644
--- a/libraries/ghci/GHCi/InfoTable.hsc
+++ b/libraries/ghci/GHCi/InfoTable.hsc
@@ -17,10 +17,10 @@ module GHCi.InfoTable
import Data.Maybe (fromJust)
#endif
import Foreign
-import Foreign.C
-import GHC.Ptr
-import GHC.Exts
-import System.IO.Unsafe
+import Foreign.C -- needed for 2nd stage
+import GHC.Ptr -- needed for 2nd stage
+import GHC.Exts -- needed for 2nd stage
+import System.IO.Unsafe -- needed for 2nd stage
type ItblCodes = Either [Word8] [Word32]
@@ -33,7 +33,7 @@ type HalfWord = Word32
#elif SIZEOF_VOID_P == 4
type HalfWord = Word16
#else
-#error Uknown SIZEOF_VOID_P
+#error Unknown SIZEOF_VOID_P
#endif
type EntryFunPtr = FunPtr (Ptr () -> IO (Ptr ()))