packages feed

haskell2010 1.1.0.0 → 1.1.0.1

raw patch · 29 files changed

+118/−2 lines, 29 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Control.Monad: class Functor f :: (* -> *)
+ Control.Monad: class Functor (f :: * -> *)
- Control.Monad: class Monad m :: (* -> *)
+ Control.Monad: class Monad (m :: * -> *)
- Control.Monad: class Monad m => MonadPlus m :: (* -> *)
+ Control.Monad: class Monad m => MonadPlus (m :: * -> *)
- Data.Bits: class Num a => Bits a
+ Data.Bits: class (Eq a, Num a) => Bits a
- Foreign.C.Error: throwErrnoIfMinus1 :: Num a => String -> IO a -> IO a
+ Foreign.C.Error: throwErrnoIfMinus1 :: (Eq a, Num a) => String -> IO a -> IO a
- Foreign.C.Error: throwErrnoIfMinus1Retry :: Num a => String -> IO a -> IO a
+ Foreign.C.Error: throwErrnoIfMinus1Retry :: (Eq a, Num a) => String -> IO a -> IO a
- Foreign.C.Error: throwErrnoIfMinus1RetryMayBlock :: Num a => String -> IO a -> IO b -> IO a
+ Foreign.C.Error: throwErrnoIfMinus1RetryMayBlock :: (Eq a, Num a) => String -> IO a -> IO b -> IO a
- Foreign.C.Error: throwErrnoIfMinus1RetryMayBlock_ :: Num a => String -> IO a -> IO b -> IO ()
+ Foreign.C.Error: throwErrnoIfMinus1RetryMayBlock_ :: (Eq a, Num a) => String -> IO a -> IO b -> IO ()
- Foreign.C.Error: throwErrnoIfMinus1Retry_ :: Num a => String -> IO a -> IO ()
+ Foreign.C.Error: throwErrnoIfMinus1Retry_ :: (Eq a, Num a) => String -> IO a -> IO ()
- Foreign.C.Error: throwErrnoIfMinus1_ :: Num a => String -> IO a -> IO ()
+ Foreign.C.Error: throwErrnoIfMinus1_ :: (Eq a, Num a) => String -> IO a -> IO ()
- Foreign.C.Error: throwErrnoPathIfMinus1 :: Num a => String -> FilePath -> IO a -> IO a
+ Foreign.C.Error: throwErrnoPathIfMinus1 :: (Eq a, Num a) => String -> FilePath -> IO a -> IO a
- Foreign.C.Error: throwErrnoPathIfMinus1_ :: Num a => String -> FilePath -> IO a -> IO ()
+ Foreign.C.Error: throwErrnoPathIfMinus1_ :: (Eq a, Num a) => String -> FilePath -> IO a -> IO ()
- Foreign.Marshal.Utils: toBool :: Num a => a -> Bool
+ Foreign.Marshal.Utils: toBool :: (Eq a, Num a) => a -> Bool
- Numeric: readDec :: Num a => ReadS a
+ Numeric: readDec :: (Eq a, Num a) => ReadS a
- Numeric: readHex :: Num a => ReadS a
+ Numeric: readHex :: (Eq a, Num a) => ReadS a
- Numeric: readOct :: Num a => ReadS a
+ Numeric: readOct :: (Eq a, Num a) => ReadS a
- Numeric: showHex :: Integral a => a -> ShowS
+ Numeric: showHex :: (Integral a, Show a) => a -> ShowS
- Numeric: showIntAtBase :: Integral a => a -> (Int -> Char) -> a -> ShowS
+ Numeric: showIntAtBase :: (Integral a, Show a) => a -> (Int -> Char) -> a -> ShowS
- Numeric: showOct :: Integral a => a -> ShowS
+ Numeric: showOct :: (Integral a, Show a) => a -> ShowS
- Prelude: class Functor f :: (* -> *)
+ Prelude: class Functor (f :: * -> *)
- Prelude: class Monad m :: (* -> *)
+ Prelude: class Monad (m :: * -> *)
- Prelude: class (Eq a, Show a) => Num a
+ Prelude: class Num a

Files

Control/Monad.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ -- | -- The "Control.Monad" module provides the 'Functor', 'Monad' and -- 'MonadPlus' classes, together with some useful operations on monads.
Data/Array.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Trustworthy #-}+#endif+ module Data.Array (     -- * Immutable non-strict arrays     -- $intro
Data/Bits.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ -- | -- This module defines bitwise operations for signed and unsigned -- integers.
Data/Char.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.Char (     -- * Characters and strings       Char
Data/Complex.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.Complex (         -- * Rectangular form           Complex((:+))
Data/Int.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.Int (         -- * Signed integer types 
Data/Ix.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.Ix (     -- * The 'Ix' class         Ix
Data/List.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.List (    -- * Basic functions 
Data/Maybe.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.Maybe (    -- * The @Maybe@ type and operations 
Data/Ratio.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.Ratio (       Ratio     , Rational
Data/Word.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Data.Word (         -- * Unsigned integral types 
Foreign/C.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Foreign.C (         -- | The module "Foreign.C" combines the interfaces of all
Foreign/C/Error.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ -- | The module "Foreign.C.Error" facilitates C-specific error -- handling of @errno@. module Foreign.C.Error (
Foreign/C/String.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ -- | -- Utilities for primitive marshalling of C strings. --
Foreign/C/Types.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Foreign.C.Types         ( -- * Representations of C types           -- $ctypes
Foreign/Marshal/Alloc.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ {- | The module "Foreign.Marshal.Alloc" provides operations to allocate and deallocate blocks of raw memory (i.e., unstructured chunks of memory
Foreign/Marshal/Array.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ {- | The module "Foreign.Marshal.Array" provides operations for marshalling Haskell lists into monolithic arrays and vice versa.  Most functions come in two@@ -61,7 +65,11 @@   ) where import qualified "base" Foreign.Marshal.Array as Base import "base" Foreign.Marshal.Array hiding (peekArray)+#if __GLASGOW_HASKELL__ >= 701+import "base" Foreign.Safe hiding (peekArray)+#else import "base" Foreign hiding (peekArray)+#endif  -- |Convert an array of given length into a Haskell list. --
Foreign/Marshal/Error.hs view
@@ -1,3 +1,8 @@+{-# LANGUAGE CPP #-}+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Foreign.Marshal.Error (   throwIf,       -- :: (a -> Bool) -> (a -> String) -> IO a       -> IO a   throwIf_,      -- :: (a -> Bool) -> (a -> String) -> IO a       -> IO ()
Foreign/Marshal/Utils.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Foreign.Marshal.Utils (   -- * General marshalling utilities 
Foreign/Ptr.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ -- | The module "Foreign.Ptr" provides typed pointers to foreign -- entities.  We distinguish two kinds of pointers: pointers to data -- and pointers to functions.  It is understood that these two kinds
Foreign/StablePtr.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Foreign.StablePtr         ( -- * Stable references to Haskell values           StablePtr          -- abstract
Foreign/Storable.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Foreign.Storable         ( Storable(              sizeOf,         -- :: a -> Int
Numeric.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module Numeric (          -- * Showing
Prelude.hs view
@@ -1,9 +1,12 @@ {-# LANGUAGE NoImplicitPrelude, BangPatterns #-}+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Trustworthy #-}+#endif+ -- | -- The Haskell 2010 Prelude: a standard module imported by default -- into all Haskell modules.  For more documentation, see the Haskell 2010 -- Report <http://www.haskell.org/onlinereport/>.- module Prelude (      -- * Standard types, classes and related functions
System/Environment.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module System.Environment (       getArgs,       -- :: IO [String]       getProgName,   -- :: IO String
System/Exit.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module System.Exit (       ExitCode(ExitSuccess,ExitFailure)     , exitWith      -- :: ExitCode -> IO a
System/IO.hs view
@@ -1,3 +1,7 @@+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module System.IO (     -- * The IO monad 
System/IO/Error.hs view
@@ -1,5 +1,9 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- apparent bug in GHC, reports a bogus warning for the Prelude import below+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Safe #-}+#endif+ module System.IO.Error (       -- * I\/O errors     IOError,                    -- = IOException
haskell2010.cabal view
@@ -1,5 +1,5 @@ name:		haskell2010-version:	1.1.0.0+version:	1.1.0.1 license:	BSD3 license-file:	LICENSE maintainer:	libraries@haskell.org