Remove for extra commas in export lists (GHC is a little too lenient).
Patch from Ross Paterson.
-- Numeric types, instances of: Eq, Ord, Num, Read, Show, Enum,
-- Typeable, Storable
-- Numeric types, instances of: Eq, Ord, Num, Read, Show, Enum,
-- Typeable, Storable
- , CClock(..), CTime(..),
+ , CClock(..), CTime(..)
-- Instances of: Eq and Storable
, CFile, CFpos, CJmpBuf
-- Instances of: Eq and Storable
, CFile, CFpos, CJmpBuf
module Foreign.ForeignPtr
(
-- * Finalised data pointers
module Foreign.ForeignPtr
(
-- * Finalised data pointers
- ForeignPtr, -- abstract, instance of: Eq
+ ForeignPtr -- abstract, instance of: Eq
, newForeignPtr -- :: Ptr a -> IO () -> IO (ForeignPtr a)
, addForeignPtrFinalizer -- :: ForeignPtr a -> IO () -> IO ()
, withForeignPtr -- :: ForeignPtr a -> (Ptr a -> IO b) -> IO b
, newForeignPtr -- :: Ptr a -> IO () -> IO (ForeignPtr a)
, addForeignPtrFinalizer -- :: ForeignPtr a -> IO () -> IO ()
, withForeignPtr -- :: ForeignPtr a -> (Ptr a -> IO b) -> IO b
module Foreign.StablePtr
( -- * Stable references to Haskell values
module Foreign.StablePtr
( -- * Stable references to Haskell values
, newStablePtr -- :: a -> IO (StablePtr a)
, deRefStablePtr -- :: StablePtr a -> IO a
, freeStablePtr -- :: StablePtr a -> IO ()
, newStablePtr -- :: a -> IO (StablePtr a)
, deRefStablePtr -- :: StablePtr a -> IO a
, freeStablePtr -- :: StablePtr a -> IO ()
module System.Environment
(
module System.Environment
(
- , getArgs -- :: IO [String]
+ getArgs -- :: IO [String]
, getProgName -- :: IO String
, getEnv -- :: String -> IO String
) where
, getProgName -- :: IO String
, getEnv -- :: String -> IO String
) where