add GHC.HetMet.{hetmet_kappa,hetmet_kappa_app}
[ghc-base.git] / GHC / IO / IOMode.hs
1 {-# LANGUAGE NoImplicitPrelude #-}
2 {-# OPTIONS_HADDOCK hide #-}
3 -----------------------------------------------------------------------------
4 -- |
5 -- Module      :  GHC.IO.IOMode
6 -- Copyright   :  (c) The University of Glasgow, 1994-2008
7 -- License     :  see libraries/base/LICENSE
8 -- 
9 -- Maintainer  :  libraries@haskell.org
10 -- Stability   :  internal
11 -- Portability :  non-portable
12 --
13 -- The IOMode type
14 --
15 -----------------------------------------------------------------------------
16
17 module GHC.IO.IOMode (IOMode(..)) where
18
19 import GHC.Base
20 import GHC.Show
21 import GHC.Read
22 import GHC.Arr
23 import GHC.Enum
24
25 -- | See 'System.IO.openFile'
26 data IOMode      =  ReadMode | WriteMode | AppendMode | ReadWriteMode
27                     deriving (Eq, Ord, Ix, Enum, Read, Show)