packages/haskell2010.git
4 years agoFix deprecation of Foreign.Safe in base 4.8 master
David Terei [Fri, 21 Nov 2014 19:34:37 +0000 (11:34 -0800)] 
Fix deprecation of Foreign.Safe in base 4.8

4 years agoMark Array as Safe rather than Trustworthy.
David Terei [Thu, 13 Nov 2014 01:44:59 +0000 (17:44 -0800)] 
Mark Array as Safe rather than Trustworthy.

4 years agoCabal cleanup overlooked in 8d5301d03f2bb945ef3
Herbert Valerio Riedel [Sun, 21 Sep 2014 09:17:25 +0000 (11:17 +0200)] 
Cabal cleanup overlooked in 8d5301d03f2bb945ef3

4 years agoUse explicit import-list for GHC.Base
Herbert Valerio Riedel [Sun, 21 Sep 2014 09:16:45 +0000 (11:16 +0200)] 
Use explicit import-list for GHC.Base

This improves forward-compatibility with base

4 years agoAdapt to Data.List/Foldable generalisation wip/T9586
Herbert Valerio Riedel [Thu, 18 Sep 2014 22:20:50 +0000 (00:20 +0200)] 
Adapt to Data.List/Foldable generalisation

4 years agoKill CPP conditionals for HUGS and old GHCs
Herbert Valerio Riedel [Sat, 13 Sep 2014 16:47:54 +0000 (18:47 +0200)] 
Kill CPP conditionals for HUGS and old GHCs

It would seem strange to want to use `haskell2010` with Hugs which never
gained support for Haskell2010, so this commit removes that bitrotting
part of Prelude.hs. This reduces the CPP clutter to the point of not
requiring any CPP processing altogether anymore.

4 years agoHide ($!) from GHC.Base
Herbert Valerio Riedel [Sat, 13 Sep 2014 11:22:19 +0000 (13:22 +0200)] 
Hide ($!) from GHC.Base

See also [b53c95fe621d3a66a82e6dad383e1c0c08f3871e/ghc]

4 years agoBump `base` constraint
Herbert Valerio Riedel [Tue, 9 Sep 2014 14:59:13 +0000 (16:59 +0200)] 
Bump `base` constraint

5 years agoFix typo
Gabor Greif [Sun, 23 Mar 2014 19:35:04 +0000 (20:35 +0100)] 
Fix typo

5 years agoBump to 1.1.2.0 and add changelog ghc-7.8 ghc-7.8.1-release ghc-7.8.2-release haskell2010-1.1.2.0-release
Herbert Valerio Riedel [Sat, 22 Mar 2014 12:25:37 +0000 (13:25 +0100)] 
Bump to 1.1.2.0 and add changelog

The minor version bump is performed `haskell2010` now leaks the new
`Bits Bool` instance from `base-4.7.0.0`.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoModernize and refactor `haskell2010.cabal`
Herbert Valerio Riedel [Sat, 26 Oct 2013 19:09:04 +0000 (21:09 +0200)] 
Modernize and refactor `haskell2010.cabal`

 - Update to `cabal-version>=0.10`
 - add missing `Setup.hs`
 - add `Prelude` category
 - set proper version constraints
 - order module list according to H2010 report TOC
 - update homepage & bug-reports URL

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years ago`M-x delete-trailing-whitespace`
Herbert Valerio Riedel [Sat, 26 Oct 2013 18:49:32 +0000 (20:49 +0200)] 
`M-x delete-trailing-whitespace`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoAdd explicit `{-# LANGUAGE CPP, PackageImports #-}` pragmas
Herbert Valerio Riedel [Sat, 26 Oct 2013 18:40:57 +0000 (20:40 +0200)] 
Add explicit `{-# LANGUAGE CPP, PackageImports #-}` pragmas

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoRemove obsolete `-fno-warn-unused-imports`
Herbert Valerio Riedel [Sat, 26 Oct 2013 18:28:54 +0000 (20:28 +0200)] 
Remove obsolete `-fno-warn-unused-imports`

The "apparent bug in GHC, reports a bogus warning for the Prelude import
below" doesn't seem to occur in GHC HEAD anymore.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoPerform belated version bump
Herbert Valerio Riedel [Tue, 22 Oct 2013 13:58:55 +0000 (15:58 +0200)] 
Perform belated version bump

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoUpdate Git repo URL in `.cabal` file
Herbert Valerio Riedel [Wed, 11 Sep 2013 13:15:01 +0000 (15:15 +0200)] 
Update Git repo URL in `.cabal` file

5 years agoFix import warnings
Ian Lynagh [Thu, 6 Jun 2013 17:38:38 +0000 (18:38 +0100)] 
Fix import warnings

6 years agoFollow changes in base
Ian Lynagh [Sat, 16 Feb 2013 13:31:23 +0000 (13:31 +0000)] 
Follow changes in base

6 years agoRemove nhc98-specific files and content
Ian Lynagh [Fri, 15 Feb 2013 20:56:24 +0000 (20:56 +0000)] 
Remove nhc98-specific files and content

6 years agoBump base lower version to 4.5 (the version GHC 7.4.1 came with)
Ian Lynagh [Fri, 30 Nov 2012 23:28:47 +0000 (23:28 +0000)] 
Bump base lower version to 4.5 (the version GHC 7.4.1 came with)

6 years agoAdd comment to .cabal file saying what GHC 7.6.1 shipped with
Ian Lynagh [Fri, 30 Nov 2012 16:00:00 +0000 (16:00 +0000)] 
Add comment to .cabal file saying what GHC 7.6.1 shipped with

6 years agoBump version to 1.1.1.0 ghc-7.6 ghc-7.6.1-release ghc-7.6.2-release ghc-7.6.3-release haskell2010-1.1.1.0-release
Paolo Capriotti [Tue, 10 Jul 2012 10:43:08 +0000 (11:43 +0100)] 
Bump version to 1.1.1.0

6 years agoFollow changes in base
Ian Lynagh [Tue, 19 Jun 2012 21:53:51 +0000 (22:53 +0100)] 
Follow changes in base

7 years agoAdd a copy of void, since base's version is now deprecated.
Simon Marlow [Mon, 16 Apr 2012 15:45:35 +0000 (16:45 +0100)] 
Add a copy of void, since base's version is now deprecated.

7 years agoUpdate .gitignore.
Paolo Capriotti [Tue, 6 Mar 2012 10:57:34 +0000 (10:57 +0000)] 
Update .gitignore.

7 years agoFix conditional pragma to work with 6.12
David Terei [Tue, 9 Aug 2011 17:40:04 +0000 (10:40 -0700)] 
Fix conditional pragma to work with 6.12

7 years agoUse Safe Haskell when GHC >= 7.2
David Terei [Mon, 8 Aug 2011 21:31:16 +0000 (14:31 -0700)] 
Use Safe Haskell when GHC >= 7.2

7 years agoRelax a dependency ghc-7.2 ghc-7.2.1-release ghc-7.2.2-release
Ian Lynagh [Wed, 6 Jul 2011 19:29:36 +0000 (20:29 +0100)] 
Relax a dependency

7 years agoMake splitAt conform to Haskell 98/2010 (fixes #1182).
Michal Terepeta [Mon, 20 Jun 2011 19:06:20 +0000 (21:06 +0200)] 
Make splitAt conform to Haskell 98/2010 (fixes #1182).

7 years agoAdd old behaviour of gcd
Daniel Fischer [Tue, 17 May 2011 21:04:35 +0000 (23:04 +0200)] 
Add old behaviour of gcd

The behaviour of gcd was changed to "gcd 0 0 = 0", here we must keep
the haskell2010 behaviour and raise an error.

8 years agoUpdate source repo location to be the git repo in .cabal file
Ian Lynagh [Fri, 8 Apr 2011 10:22:53 +0000 (11:22 +0100)] 
Update source repo location to be the git repo in .cabal file

8 years agoDefine Prelude.catch locally, now that base has deprecated it ghc-darcs-git-switchover
Ian Lynagh [Sat, 5 Feb 2011 22:24:26 +0000 (22:24 +0000)] 
Define Prelude.catch locally, now that base has deprecated it

8 years agoUse a LANGUAGE pragma rather than OPTIONS_GHC
Ian Lynagh [Thu, 3 Feb 2011 15:11:50 +0000 (15:11 +0000)] 
Use a LANGUAGE pragma rather than OPTIONS_GHC

8 years agoReplace uses of the old try function with the new one
Ian Lynagh [Sat, 18 Dec 2010 23:10:04 +0000 (23:10 +0000)] 
Replace uses of the old try function with the new one

8 years agoReplace uses of the old catch function with the new one
Ian Lynagh [Sat, 18 Dec 2010 21:42:59 +0000 (21:42 +0000)] 
Replace uses of the old catch function with the new one

8 years agoadd cast{C,U}CharToChar and castCharTo{C,U}Char, from Haskell 2010
Simon Marlow [Wed, 14 Jul 2010 14:15:02 +0000 (14:15 +0000)] 
add cast{C,U}CharToChar and castCharTo{C,U}Char, from Haskell 2010

8 years agoadd paragraph about alignment
Simon Marlow [Wed, 14 Jul 2010 11:58:37 +0000 (11:58 +0000)] 
add paragraph about alignment

8 years agoadd catch/try
Simon Marlow [Tue, 13 Jul 2010 13:28:19 +0000 (13:28 +0000)] 
add catch/try

8 years agoadd IntPtr/WordPtr and related conversions
Simon Marlow [Tue, 13 Jul 2010 13:28:06 +0000 (13:28 +0000)] 
add IntPtr/WordPtr and related conversions

8 years agoadd finalizeForeignPtr
Simon Marlow [Tue, 13 Jul 2010 13:27:51 +0000 (13:27 +0000)] 
add finalizeForeignPtr

8 years ago-package-name option is not necessary Haskell_2010_report_generated
Simon Marlow [Fri, 2 Jul 2010 13:37:46 +0000 (13:37 +0000)] 
-package-name option is not necessary

8 years agoadd the Numeric and Prelude modules, and add ioError/catch to System.IO.Error
Simon Marlow [Fri, 2 Jul 2010 13:37:36 +0000 (13:37 +0000)] 
add the Numeric and Prelude modules, and add ioError/catch to System.IO.Error

8 years agoHaskell report -> Haskell language report
Simon Marlow [Thu, 1 Jul 2010 15:52:32 +0000 (15:52 +0000)] 
Haskell report -> Haskell language report

8 years agotouchForeignPtr: remove GHC-specific information
Simon Marlow [Thu, 1 Jul 2010 12:53:05 +0000 (12:53 +0000)] 
touchForeignPtr: remove GHC-specific information

8 years agoremove extraneous implementation information from the spec
Simon Marlow [Thu, 1 Jul 2010 12:52:44 +0000 (12:52 +0000)] 
remove extraneous implementation information from the spec

8 years agoremove "One non-obvious consequence of this is that..."
Simon Marlow [Thu, 1 Jul 2010 12:24:13 +0000 (12:24 +0000)] 
remove "One non-obvious consequence of this is that..."
it was so non-obvious that neither Ian nor I understand it at all.

8 years agofix indentation
Simon Marlow [Thu, 1 Jul 2010 12:20:47 +0000 (12:20 +0000)] 
fix indentation

8 years agoexpand tabs
Simon Marlow [Thu, 1 Jul 2010 12:19:15 +0000 (12:19 +0000)] 
expand tabs

8 years agoRatio -> Data.Ratio
Simon Marlow [Thu, 1 Jul 2010 12:18:23 +0000 (12:18 +0000)] 
Ratio -> Data.Ratio

8 years agoMaybe -> Data.Maybe
Simon Marlow [Thu, 1 Jul 2010 12:17:29 +0000 (12:17 +0000)] 
Maybe -> Data.Maybe

8 years agoindentation
Simon Marlow [Thu, 1 Jul 2010 12:05:46 +0000 (12:05 +0000)] 
indentation

8 years agoexpand tabs
Simon Marlow [Thu, 1 Jul 2010 12:03:21 +0000 (12:03 +0000)] 
expand tabs

8 years agoexpand tabs
Simon Marlow [Thu, 1 Jul 2010 12:02:16 +0000 (12:02 +0000)] 
expand tabs

8 years agoComplex -> Data.Complex
Simon Marlow [Thu, 1 Jul 2010 12:02:09 +0000 (12:02 +0000)] 
Complex -> Data.Complex

8 years agotidied up reference code
Simon Marlow [Thu, 1 Jul 2010 11:58:28 +0000 (11:58 +0000)] 
tidied up reference code

8 years agoRatio -> Data.Ratio
Simon Marlow [Thu, 1 Jul 2010 11:57:14 +0000 (11:57 +0000)] 
Ratio -> Data.Ratio

8 years agoremove references to Typeable
Simon Marlow [Thu, 1 Jul 2010 11:31:47 +0000 (11:31 +0000)] 
remove references to Typeable

8 years agodoc typo
Simon Marlow [Thu, 1 Jul 2010 11:31:39 +0000 (11:31 +0000)] 
doc typo

8 years agoomit the GHC-specific notes from the docs for mallocForeignPtr
Simon Marlow [Thu, 1 Jul 2010 07:55:37 +0000 (07:55 +0000)] 
omit the GHC-specific notes from the docs for mallocForeignPtr

8 years agowarning suppression
Simon Marlow [Wed, 30 Jun 2010 14:00:16 +0000 (14:00 +0000)] 
warning suppression

8 years agoadd LICENSE
Simon Marlow [Wed, 30 Jun 2010 13:00:06 +0000 (13:00 +0000)] 
add LICENSE

8 years agoInitial import
Simon Marlow [Wed, 30 Jun 2010 12:54:43 +0000 (12:54 +0000)] 
Initial import