packages/array.git
5 months agoDeclare support for base-4.13 master
Herbert Valerio Riedel [Tue, 18 Dec 2018 21:57:05 +0000 (22:57 +0100)] 
Declare support for base-4.13

6 months agoAdd a 'Read (UArray i e)' instance
Alec Theriault [Thu, 8 Nov 2018 15:21:12 +0000 (10:21 -0500)] 
Add a 'Read (UArray i e)' instance

Summary:
This matches exactly the 'Read (Array i e)' instance defined in base.
Note that the same thing is being done for 'Show (UArray i e)'.

Reviewers: RyanGlScott, bgamari

GHC Trac Issues: #11335

Differential Revision: https://phabricator.haskell.org/D5156

7 months agoBump version to 0.5.3 and update changelog v0.5.3.0
Ben Gamari [Thu, 4 Oct 2018 15:04:47 +0000 (11:04 -0400)] 
Bump version to 0.5.3 and update changelog

12 months agoGenerate a fresh Travis config file using the haskell-ci script
Chaitanya Koparkar [Sun, 13 May 2018 15:45:39 +0000 (11:45 -0400)] 
Generate a fresh Travis config file using the haskell-ci script

Summary:
The old Travis script still had targets to test against GHC < 8.0,
and wasn't using Cabal `new-build` among other things.

Reviewers: bgamari, RyanGlScott

Reviewed By: RyanGlScott

Differential Revision: https://phabricator.haskell.org/D4681

13 months agoBump upper bound on base to < 4.13
Ryan Scott [Tue, 10 Apr 2018 12:27:39 +0000 (08:27 -0400)] 
Bump upper bound on base to < 4.13

See https://ghc.haskell.org/trac/ghc/ticket/15018.

14 months agoRemove compatibility with GHC <8
David Feuer [Mon, 19 Mar 2018 16:46:14 +0000 (12:46 -0400)] 
Remove compatibility with GHC <8

Summary: These have shifted out of the support window.

Reviewers: bgamari, hvr, RyanGlScott

Reviewed By: RyanGlScott

Subscribers: RyanGlScott

Differential Revision: https://phabricator.haskell.org/D4499

20 months agoBump upper bound on base
Ben Gamari [Thu, 14 Sep 2017 00:04:36 +0000 (20:04 -0400)] 
Bump upper bound on base

22 months agoPrepare for 0.5.2.0 release v0.5.2.0
Herbert Valerio Riedel [Mon, 3 Jul 2017 22:04:30 +0000 (00:04 +0200)] 
Prepare for 0.5.2.0 release

2 years agoExport unsafeFreezeIOUArray
Ben Gamari [Mon, 1 May 2017 16:57:25 +0000 (12:57 -0400)] 
Export unsafeFreezeIOUArray

The fact that this was previously hidden appears to be an oversight and
I've needed it at least once.

2 years agoDrop support for GHC prior to GHC 7.8
Herbert Valerio Riedel [Sun, 30 Apr 2017 21:25:05 +0000 (23:25 +0200)] 
Drop support for GHC prior to GHC 7.8

The recent overflow check made the code stop working w/ prior versions
of GHC. But there's little benefit in support much older GHCs, so it's
easier to just cut the support window.

2 years agoT9220: Only examine type roles
Ben Gamari [Sun, 2 Apr 2017 17:02:23 +0000 (13:02 -0400)] 
T9220: Only examine type roles

The ghc-8.2 and master branches disagree on the order of the instances.
Normalise this difference away.

2 years agoFix expected output for T229 on 32-bit machines
Ben Gamari [Fri, 31 Mar 2017 23:24:51 +0000 (19:24 -0400)] 
Fix expected output for T229 on 32-bit machines

2 years agoT229: Fix name of WORD_SIZE macro
Ben Gamari [Sun, 26 Mar 2017 23:06:04 +0000 (19:06 -0400)] 
T229: Fix name of WORD_SIZE macro

2 years agoT229: Enable -XCPP
Ben Gamari [Sun, 26 Mar 2017 17:02:10 +0000 (13:02 -0400)] 
T229: Enable -XCPP

2 years agoT229: Rework to pass on 32-bit machines
Ben Gamari [Fri, 24 Mar 2017 16:51:59 +0000 (12:51 -0400)] 
T229: Rework to pass on 32-bit machines

Previously it failed with,

-T229: Data.Array.Base.safe_scale: Overflow; scale: 4, n: 4611686018427387904
-CallStack (from HasCallStack):
-  error, called at libraries/array/Data/Array/Base.hs ...
+T229: Ix{Int}.index: Index (17) out of range ((0,-1))

2 years agoUpdate test output to track GHC head
Simon Peyton Jones [Fri, 10 Mar 2017 14:37:00 +0000 (14:37 +0000)] 
Update test output to track GHC head

2 years agoAdd arcconfig
Ben Gamari [Tue, 14 Feb 2017 22:05:04 +0000 (17:05 -0500)] 
Add arcconfig

2 years agoUpdate test output for T229
Ben Gamari [Thu, 9 Feb 2017 02:22:23 +0000 (21:22 -0500)] 
Update test output for T229

2 years agoFix and simplify handling of Bool arrays
Ben Gamari [Wed, 8 Feb 2017 02:32:29 +0000 (21:32 -0500)] 
Fix and simplify handling of Bool arrays

No overflow check is necessary in the case of Bool arrays since the array size
is actually smaller than the number of elements it contains. Moreover, we can
use setByteArray# to initialize the array.

2 years agoAdd diagnostics to overflow errors
Oleg Grenrus [Tue, 7 Feb 2017 11:17:03 +0000 (13:17 +0200)] 
Add diagnostics to overflow errors

2 years agoFix overflow check
Ben Gamari [Mon, 26 Dec 2016 18:13:26 +0000 (13:13 -0500)] 
Fix overflow check

As akio points out, the fix to #229 which I authored previously was blatantly
wrong.

2 years agoUpdate changelog and bump version to 0.5.1.2
Ben Gamari [Thu, 15 Dec 2016 20:29:16 +0000 (15:29 -0500)] 
Update changelog and bump version to 0.5.1.2

2 years agoData.Array.Base: Check for overflow in size calculations
Ben Gamari [Wed, 7 Dec 2016 01:38:59 +0000 (20:38 -0500)] 
Data.Array.Base: Check for overflow in size calculations

Fixes GHC #4505.

2 years agoBump upper bound on base
Ben Gamari [Tue, 15 Nov 2016 17:33:45 +0000 (12:33 -0500)] 
Bump upper bound on base

2 years agoUpdate a testcase before GHC change
Bartosz Nitka [Fri, 8 Jul 2016 10:57:03 +0000 (03:57 -0700)] 
Update a testcase before GHC change

Changing InstEnv to UniqDFM changes the order some things get
printed

3 years agoBump version to 0.5.1.1 and update changelog v0.5.1.1
Herbert Valerio Riedel [Sun, 17 Apr 2016 09:08:15 +0000 (11:08 +0200)] 
Bump version to 0.5.1.1 and update changelog

3 years agoMigrate to @since markup syntax
Herbert Valerio Riedel [Sun, 17 Apr 2016 09:07:22 +0000 (11:07 +0200)] 
Migrate to @since markup syntax

3 years agoUpdate testsuite for frozen callstacks
Ben Gamari [Wed, 23 Dec 2015 10:21:32 +0000 (05:21 -0500)] 
Update testsuite for frozen callstacks

3 years agoUpdate testsuite for D1617
Ben Gamari [Tue, 15 Dec 2015 19:01:30 +0000 (14:01 -0500)] 
Update testsuite for D1617

3 years agoUpdate output
Simon Marlow [Wed, 4 Nov 2015 23:42:33 +0000 (23:42 +0000)] 
Update output

3 years agoRelax upper bound on `base` to allow GHC8/base-4.9
Herbert Valerio Riedel [Wed, 28 Oct 2015 21:13:52 +0000 (22:13 +0100)] 
Relax upper bound on `base` to allow GHC8/base-4.9

3 years agoDon't needlessly call bounds in Data.Array.Base.elems (#10014)
Thomas Miedema [Wed, 21 Oct 2015 20:45:12 +0000 (22:45 +0200)] 
Don't needlessly call bounds in Data.Array.Base.elems (#10014)

3 years agoupdate output for tests/T2120
Eric Seidel [Thu, 9 Jul 2015 21:06:28 +0000 (14:06 -0700)] 
update output for tests/T2120

3 years agoTestsuite: array001 is working again
Thomas Miedema [Thu, 30 Jul 2015 19:57:42 +0000 (21:57 +0200)] 
Testsuite: array001 is working again

3 years agoTestsuite: mark array001 expect_broken_for(#10659, ['optasm',...])
Thomas Miedema [Sat, 18 Jul 2015 20:33:01 +0000 (22:33 +0200)] 
Testsuite: mark array001 expect_broken_for(#10659, ['optasm',...])

4 years agoError message wibble following module suppression
Simon Peyton Jones [Tue, 7 Apr 2015 16:46:03 +0000 (17:46 +0100)] 
Error message wibble following module suppression

4 years agoRestore compatibility with GHC 7.10 v0.5.1.0
Herbert Valerio Riedel [Tue, 10 Mar 2015 08:34:10 +0000 (09:34 +0100)] 
Restore compatibility with GHC 7.10

This adds CPP guards around the changes in
c9f207182d4c0a4fcfaaabffb5ed759b99913bb5

4 years agoBump minor version to 0.5.1.0
Herbert Valerio Riedel [Tue, 10 Mar 2015 08:32:56 +0000 (09:32 +0100)] 
Bump minor version to 0.5.1.0

This way the type-role addition in
4baaf0b6d1e7498f529e41eaa3a065cfa84b078c becomes be detectable via
`MIN_VERSION_array()`

4 years agoRemove unnecessary import
Simon Peyton Jones [Tue, 6 Jan 2015 13:40:57 +0000 (13:40 +0000)] 
Remove unnecessary import

4 years agoRemove redundant constraints, discovered by -fwarn-redundant-constraints
Simon Peyton Jones [Tue, 6 Jan 2015 12:15:33 +0000 (12:15 +0000)] 
Remove redundant constraints, discovered by -fwarn-redundant-constraints

4 years agoFix #9220 by adding role annotations.
Richard Eisenberg [Fri, 7 Nov 2014 22:30:58 +0000 (17:30 -0500)] 
Fix #9220 by adding role annotations.

4 years agoTest #9220 in libraries/array/tests/T9220
Richard Eisenberg [Fri, 7 Nov 2014 22:27:54 +0000 (17:27 -0500)] 
Test #9220 in libraries/array/tests/T9220

4 years agoMore forward-compat way to accomplish f7955522c45a
Herbert Valerio Riedel [Sun, 21 Sep 2014 09:24:27 +0000 (11:24 +0200)] 
More forward-compat way to accomplish f7955522c45a

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

4 years agoBump `base` constraint and convert changelog to MD
Herbert Valerio Riedel [Tue, 9 Sep 2014 14:13:17 +0000 (16:13 +0200)] 
Bump `base` constraint and convert changelog to MD

4 years agoadd testsuite-related gitignore entries
Herbert Valerio Riedel [Thu, 26 Jun 2014 21:01:42 +0000 (23:01 +0200)] 
add testsuite-related gitignore entries

5 years agoUntabify changelog and bump release date for 0.5.0.0 ghc-7.8 array-0.5.0.0-release ghc-7.8.1-release ghc-7.8.2-release
Herbert Valerio Riedel [Fri, 8 Nov 2013 21:04:46 +0000 (22:04 +0100)] 
Untabify changelog and bump release date for 0.5.0.0

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoTweak Cabal description field and update bug-reports url
Herbert Valerio Riedel [Fri, 8 Nov 2013 21:03:24 +0000 (22:03 +0100)] 
Tweak Cabal description field and update bug-reports url

This also realigns the top-level Cabal fields.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoAdd Travis-CI script & README
Herbert Valerio Riedel [Sun, 3 Nov 2013 11:54:19 +0000 (12:54 +0100)] 
Add Travis-CI script & README

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoAdd `dist/` to `.gitignore`
Herbert Valerio Riedel [Fri, 11 Oct 2013 13:08:44 +0000 (15:08 +0200)] 
Add `dist/` to `.gitignore`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoRestablish compatibility with GHC 7.4.1
Herbert Valerio Riedel [Fri, 11 Oct 2013 13:34:04 +0000 (15:34 +0200)] 
Restablish compatibility with GHC 7.4.1

As of now, this package has been verified to work with GHC 7.4.x, GHC
7.6.x and GHC HEAD.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoAdd `source-repository this` and changelog file
Herbert Valerio Riedel [Fri, 11 Oct 2013 13:00:45 +0000 (15:00 +0200)] 
Add `source-repository this` and changelog file

Displaying this changelog file is supported by the new Hackage server.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoFinally remove deprecated unsafe exports
Herbert Valerio Riedel [Fri, 11 Oct 2013 12:57:33 +0000 (14:57 +0200)] 
Finally remove deprecated unsafe exports

Those exports were deprecated in `array-0.4.0.0`
(which shipped with GHC 7.4.1)

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoAdd `/Since: 0.4.0.0/` annotations to new modules
Herbert Valerio Riedel [Fri, 11 Oct 2013 12:10:56 +0000 (14:10 +0200)] 
Add `/Since: 0.4.0.0/` annotations to new modules

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoClean up warnings and restore GHC 7.6 compatibility
Herbert Valerio Riedel [Sun, 22 Sep 2013 23:13:29 +0000 (01:13 +0200)] 
Clean up warnings and restore GHC 7.6 compatibility

This commit

 - removes redundant imports
 - removes obsolete `{-# OPTIONS_GHC -#include "HsBase.h" #-}`
 - adds a forgotten guard to one `isTrue#` occurence
 - adds a few explicit `_ <-` binds to avoid unused-binds warning
 - relax `base` build-dep version constraint to include GHC 7.6
 - remove warning-disabling `OPTIONS_GHC` from modules
 - adds `ghc-options: -Wall` to `array.cabal` file as the code base
   now warning-free on GHC 7.6 and GHC HEAD

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoModernize `array` package via `{-# LANGUAGE #-}` pragmas
Herbert Valerio Riedel [Sun, 22 Sep 2013 23:07:52 +0000 (01:07 +0200)] 
Modernize `array` package via `{-# LANGUAGE #-}` pragmas

This converts the Cabal field `default-extensions`into
`other-extensions` and adds explicit `{-# LANGUAGE #-}` pragmas
to the respective modules.

This also removes a few obsolete pre-Haddock-2 `#hide` pragmas.

Note: The new `default-extensions` field lists extensions that are used
in all modules in the component, while the `other-extensions` field
lists extensions that are used in some modules, e.g. via the
`{-# LANGUAGE #-}` pragma.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoFollow changes in comparison primops (see #6135)
Jan Stolarek [Mon, 16 Sep 2013 14:16:27 +0000 (15:16 +0100)] 
Follow changes in comparison primops (see #6135)

5 years agoConstant-fold `__GLASGOW_HASKELL__` CPP conditionals
Herbert Valerio Riedel [Tue, 17 Sep 2013 07:50:37 +0000 (09:50 +0200)] 
Constant-fold `__GLASGOW_HASKELL__` CPP conditionals

Now that HUGS and NHC specific code has been removed, this commit
"folds" the now redundant `#if((n)def)`s containing
`__GLASGOW_HASKELL__`.  This renders `base` officially GHC only.

This commit also inlines the `INSTANCE_TYPEABLE` macros and removes the
now superflous local `include/Typeable.h` header.

Finally, the `array.cabal` file is updated as well to remove the now
superflous conditionals.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoRemove Hugs98 specific code
Herbert Valerio Riedel [Sun, 15 Sep 2013 09:54:58 +0000 (11:54 +0200)] 
Remove Hugs98 specific code

For rationale, see
 http://permalink.gmane.org/gmane.comp.lang.haskell.ghc.devel/2349

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 agoComparison primops return Int# (Fixes #6135)
Jan Stolarek [Wed, 12 Jun 2013 14:59:17 +0000 (16:59 +0200)] 
Comparison primops return Int# (Fixes #6135)

For a deatiled discussion of this changes please visit the wiki page:
http://hackage.haskell.org/trac/ghc/wiki/PrimBool

6 years agoAdd "deprecated in" comments to deprecated pragmas
Ian Lynagh [Tue, 19 Feb 2013 15:35:21 +0000 (15:35 +0000)] 
Add "deprecated in" comments to deprecated pragmas

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

6 years agoImplement poly-kinded Typeable
Jose Pedro Magalhaes [Thu, 7 Feb 2013 14:03:00 +0000 (14:03 +0000)] 
Implement poly-kinded Typeable

This patch makes the Data.Typeable.Typeable class work with arguments of any
kind. In particular, this removes the Typeable1..7 class hierarchy, greatly
simplyfing the whole Typeable story. Also added is the AutoDeriveTypeable
language extension, which will automatically derive Typeable for all types and
classes declared in that module. Since there is now no good reason to give
handwritten instances of the Typeable class, those are ignored (for backwards
compatibility), and a warning is emitted.

The old, kind-* Typeable class is now called OldTypeable, and lives in the
Data.OldTypeable module. It is deprecated, and should be removed in some future
version of GHC.

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

and remove code to support older versions

6 years agoBump version number following new policy
Ian Lynagh [Fri, 30 Nov 2012 16:39:05 +0000 (16:39 +0000)] 
Bump version number following new policy

We now keep the HEAD version numbers as values which would be suitable
for immediate release.

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

6 years agoremove deprecated pragma (eliminating warning)
Gabor Greif [Tue, 23 Oct 2012 08:09:27 +0000 (10:09 +0200)] 
remove deprecated pragma (eliminating warning)

6 years agoFix inline rule shadowing warnings
Paolo Capriotti [Wed, 25 Jul 2012 13:04:46 +0000 (14:04 +0100)] 
Fix inline rule shadowing warnings

6 years agoBump version to 0.4.0.1
Paolo Capriotti [Tue, 10 Jul 2012 09:49:07 +0000 (10:49 +0100)] 
Bump version to 0.4.0.1

6 years agoUpdate tests following changes in base
Ian Lynagh [Wed, 20 Jun 2012 12:21:56 +0000 (13:21 +0100)] 
Update tests following changes in base

7 years agoFollow changes in base
Ian Lynagh [Wed, 29 Feb 2012 01:22:50 +0000 (01:22 +0000)] 
Follow changes in base

7 years agoMove test array01 into the array package
Ian Lynagh [Sun, 26 Feb 2012 18:43:18 +0000 (18:43 +0000)] 
Move test array01 into the array package

7 years agoRemove old darcs boring file
David Terei [Wed, 10 Aug 2011 19:23:45 +0000 (12:23 -0700)] 
Remove old darcs boring file

7 years agoSafe'ify array library.
David Terei [Fri, 22 Jul 2011 20:05:42 +0000 (13:05 -0700)] 
Safe'ify array library.

7 years agoMake formatting consistent across modules
David Terei [Fri, 22 Jul 2011 18:18:33 +0000 (11:18 -0700)] 
Make formatting consistent across modules

7 years agoBump version number ghc-7.2 ghc-7.2.1-release ghc-7.2.2-release
Ian Lynagh [Wed, 6 Jul 2011 14:17:49 +0000 (15:17 +0100)] 
Bump version number

8 years agoAdd a test from testsuite/tests/h98
Ian Lynagh [Sun, 8 May 2011 20:13:45 +0000 (21:13 +0100)] 
Add a test from testsuite/tests/h98

8 years agoFor GHC, implement the Typeable.hs macros using standalone deriving
Ian Lynagh [Sun, 24 Apr 2011 18:43:30 +0000 (19:43 +0100)] 
For GHC, implement the Typeable.hs macros using standalone deriving

As well as being more pleasant, this fixes #1841:
    Data.Typeable: Instances of basic types don't provide qualified
    strings to mkTyCon

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

8 years agoUse count argument in hPutArray/hGetArray. Fixes #4827
Max Bolingbroke [Tue, 5 Apr 2011 21:48:26 +0000 (22:48 +0100)] 
Use count argument in hPutArray/hGetArray. Fixes #4827

8 years agoAdd initial .gitignore
Max Bolingbroke [Tue, 5 Apr 2011 21:47:54 +0000 (22:47 +0100)] 
Add initial .gitignore

8 years agoAdd LANGUAGE BangPatterns ghc-darcs-git-switchover
simonpj@microsoft.com [Fri, 12 Nov 2010 22:39:13 +0000 (22:39 +0000)] 
Add LANGUAGE BangPatterns

To do this we need to define (!) prefix, thus
   (!) arr i = ....
rather than infix

8 years agoRoll back this change; I konw a better way
simonpj@microsoft.com [Fri, 12 Nov 2010 22:34:55 +0000 (22:34 +0000)] 
Roll back this change; I konw a better way

rolling back:

Fri Nov 12 21:09:02 GMT Standard Time 2010  Ian Lynagh <igloo@earth.li>
  * Remove bang patterns from Data.Array.Base
  GHC now refuses to accept top-level bang patterns unless BangPAtterns is
  enabled, which we can't use in Data.Array.Base due to the way ! is used
  as an operator.

    M ./Data/Array/Base.hs -15 +21

8 years agoRemove bang patterns from Data.Array.Base
Ian Lynagh [Fri, 12 Nov 2010 21:09:02 +0000 (21:09 +0000)] 
Remove bang patterns from Data.Array.Base
GHC now refuses to accept top-level bang patterns unless BangPAtterns is
enabled, which we can't use in Data.Array.Base due to the way ! is used
as an operator.

8 years agoBump version number to 0.3.0.2
Ian Lynagh [Fri, 17 Sep 2010 00:19:21 +0000 (00:19 +0000)] 
Bump version number to 0.3.0.2

9 years agoTighten the base dep; fixes trac #3913 Haskell_2010_report_generated
Ian Lynagh [Wed, 28 Apr 2010 21:14:14 +0000 (21:14 +0000)] 
Tighten the base dep; fixes trac #3913

9 years agoTweak layout to work with the alternative layout rule
Ian Lynagh [Sun, 29 Nov 2009 15:49:52 +0000 (15:49 +0000)] 
Tweak layout to work with the alternative layout rule

9 years agoBump version to 0.3.0.0
Ian Lynagh [Sun, 20 Sep 2009 14:18:28 +0000 (14:18 +0000)] 
Bump version to 0.3.0.0

9 years agoimplement hGetArray/hPutArray (#3417)
Simon Marlow [Thu, 27 Aug 2009 12:19:21 +0000 (12:19 +0000)] 
implement hGetArray/hPutArray (#3417)

9 years agoFix "Cabal check" warnings
Ian Lynagh [Tue, 11 Aug 2009 21:58:53 +0000 (21:58 +0000)] 
Fix "Cabal check" warnings

9 years agoRemove Data.Array.Diff; proposal #3370
Ian Lynagh [Sun, 2 Aug 2009 12:32:06 +0000 (12:32 +0000)] 
Remove Data.Array.Diff; proposal #3370
It is now in its own diffarray package

9 years agoImprove the index checking for array accesses; fixes #2120 #2669
Ian Lynagh [Sun, 19 Jul 2009 15:29:31 +0000 (15:29 +0000)] 
Improve the index checking for array accesses; fixes #2120 #2669
As well as checking that offset we are reading is actually inside the
array, we now also check that it is "in range" as defined by the Ix
instance. This fixes confusing behaviour (#2120) and improves some error
messages (#2669).

9 years agoFix some "warn-unused-do-bind" warnings where we want to ignore the value
Ian Lynagh [Fri, 10 Jul 2009 20:46:07 +0000 (20:46 +0000)] 
Fix some "warn-unused-do-bind" warnings where we want to ignore the value

10 years agoUpdate for new IO library (TEMPORARY: hGetArray/hPutArray not implemented) 2009-06-25
Simon Marlow [Mon, 2 Feb 2009 13:12:15 +0000 (13:12 +0000)] 
Update for new IO library (TEMPORARY: hGetArray/hPutArray not implemented)

10 years agoUse a bang pattern when we where/let-bind values with unlifted types
Ian Lynagh [Fri, 24 Apr 2009 12:52:40 +0000 (12:52 +0000)] 
Use a bang pattern when we where/let-bind values with unlifted types

10 years agoRequire Cabal version >= 1.6
Ian Lynagh [Thu, 22 Jan 2009 01:12:40 +0000 (01:12 +0000)] 
Require Cabal version >= 1.6

10 years agoAdd "bug-reports" and "source-repository" info to the Cabal file
Ian Lynagh [Wed, 21 Jan 2009 18:17:03 +0000 (18:17 +0000)] 
Add "bug-reports" and "source-repository" info to the Cabal file

10 years agoAvoid using IOError internals
Ian Lynagh [Sun, 4 Jan 2009 17:28:54 +0000 (17:28 +0000)] 
Avoid using IOError internals

10 years agoBump the version number to 0.2.0.1, to work-around cabal-install problems
Ian Lynagh [Fri, 12 Dec 2008 20:17:11 +0000 (20:17 +0000)] 
Bump the version number to 0.2.0.1, to work-around cabal-install problems