X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FC%2FTypes.hs;h=5def8b9db3d834bf434158cbcd5bc03608baf8f2;hb=9fa9bc17072a58c0bae2cce4764d38677e96ac29;hp=744d448428a60137c992cf96f853ccf78be4d6a4;hpb=5545727d5a6a1fc6d5d00f32a92a8fdf0fb7ca77;p=ghc-base.git diff --git a/Foreign/C/Types.hs b/Foreign/C/Types.hs index 744d448..5def8b9 100644 --- a/Foreign/C/Types.hs +++ b/Foreign/C/Types.hs @@ -1,6 +1,6 @@ {-# OPTIONS -fno-implicit-prelude #-} ----------------------------------------------------------------------------- --- +-- | -- Module : Foreign.C.Types -- Copyright : (c) The FFI task force 2001 -- License : BSD-style (see the file libraries/core/LICENSE) @@ -9,7 +9,7 @@ -- Stability : provisional -- Portability : portable -- --- $Id: Types.hs,v 1.2 2001/07/03 11:37:50 simonmar Exp $ +-- $Id: Types.hs,v 1.4 2002/04/24 16:31:44 simonmar Exp $ -- -- Mapping of C types to corresponding Haskell types. A cool hack... -- @@ -18,13 +18,14 @@ module Foreign.C.Types ( -- Integral types, instances of: Eq, Ord, Num, Read, Show, Enum, -- Typeable, Storable, Bounded, Real, Integral, Bits - CChar(..), CSChar(..), CUChar(..) - , CShort(..), CUShort(..), CInt(..), CUInt(..) - , CLong(..), CULong(..), CLLong(..), CULLong(..) + CChar(..), CSChar(..), CUChar(..) + , CShort(..), CUShort(..), CInt(..), CUInt(..) + , CLong(..), CULong(..), CLLong(..), CULLong(..) -- Floating types, instances of: Eq, Ord, Num, Read, Show, Enum, - -- Typeable, Storable, Real, Fractional, Floating, RealFrac, RealFloat - , CFloat(..), CDouble(..), CLDouble(..) + -- Typeable, Storable, Real, Fractional, Floating, RealFrac, + -- RealFloat + , CFloat(..), CDouble(..), CLDouble(..) ) where import Data.Bits ( Bits(..) )