projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use explicit language extensions & remove extension fields from base.cabal
[ghc-base.git]
/
GHC
/
IO
/
IOMode.hs
diff --git
a/GHC/IO/IOMode.hs
b/GHC/IO/IOMode.hs
index
dbae088
..
3b0943c
100644
(file)
--- a/
GHC/IO/IOMode.hs
+++ b/
GHC/IO/IOMode.hs
@@
-1,4
+1,4
@@
-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
-- |
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
-- |
@@
-22,5
+22,6
@@
import GHC.Read
import GHC.Arr
import GHC.Enum
import GHC.Arr
import GHC.Enum
+-- | See 'System.IO.openFile'
data IOMode = ReadMode | WriteMode | AppendMode | ReadWriteMode
deriving (Eq, Ord, Ix, Enum, Read, Show)
data IOMode = ReadMode | WriteMode | AppendMode | ReadWriteMode
deriving (Eq, Ord, Ix, Enum, Read, Show)