- Mar 25, 2008
-
-
Duncan Coutts authored
Specify the build-type and min cabal-version. Don't have Data.Array in both exposed-modules on both sides of a conditional, just make it unconditional. Stop using -fglasgow-exts and specify all the extensions explicitly. Some extensions are conditional on non-nhc98 and some are ghc-specific.
-
Duncan Coutts authored
-
Duncan Coutts authored
The real reason to not import Control.Applicative is that it exports the non-H98 instance Functor ((->) a) and it is important for Data.Array to not re-export that because the H98 Array module re-exports bits of Data.Array and it is vital that we do not export non-H98 instances from a module specified in H98.
-
- Mar 02, 2008
-
-
Matti Niemenmaa authored
-
- Jan 23, 2008
-
-
Ross Paterson authored
-
- Dec 14, 2007
-
-
Ian Lynagh authored
-
Simon Marlow authored
-
- Dec 13, 2007
-
-
Malcolm.Wallace@cs.york.ac.uk authored
-
- Oct 23, 2007
-
-
Ross Paterson authored
-
Simon Marlow authored
-
- Sep 13, 2007
-
-
Ian Lynagh authored
-
- Aug 29, 2007
-
-
Ross Paterson authored
-
Ross Paterson authored
-
- Aug 10, 2007
-
-
Ian Lynagh authored
This is a divergence from Haskell 98. * Add (numElements :: Ix i => a i e -> Int) to IArray class * Array types get an extra field for numElements, e.g. {{{ -data UArray i e = UArray !i !i ByteArray# +data UArray i e = UArray !i !i !Int ByteArray# }}} This is a cache of rangeSize(l,u) * Add safeRangeSize (always returns >= 0) * Add safeIndex (use unsafeIndex (no Ix inRange check), but check index < numElements) * unsafeForeignPtrToStorableArray gained an (Ix i) context
-
- Aug 20, 2007
-
-
Ross Paterson authored
-
- Aug 19, 2007
-
-
Ross Paterson authored
-
- Aug 13, 2007
-
-
Malcolm.Wallace@cs.york.ac.uk authored
-
- Aug 12, 2007
-
-
Ian Lynagh authored
-
- Aug 01, 2007
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Jul 29, 2007
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Jul 22, 2007
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Aug 01, 2007
-
-
Malcolm.Wallace@cs.york.ac.uk authored
A recent patch to System.IO introduced a cyclic dependency on Foreign.C.Error, and also inadvertently dragged along System.Posix.Internals which has non-H'98 layout, causing many build problems. The solution for now is to #ifndef __NHC__ all of the recent the openTempFile additions, and mark them non-portable once again. (I also took the opportunity to note a number of other non-portable functions in their Haddock comments.)
-
simonpj@microsoft authored
I have not looked at the details, but the type checker is happy with the more general type, and more general types are usually a Good Thing.
-
- Jul 30, 2007
-
-
Ian Lynagh authored
The old setmode code was throwing an exception, and I'm not sure it is meant to do what we need anyway. For now we assume that all FDs are both readable and writable.
-
- Jul 29, 2007
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Jul 25, 2007
-
-
Simon Marlow authored
Not just on Windows. This change is required because we now use safe foreign calls for I/O on blocking file descriptors with the threaded RTS. Exposed by concio001.thr on MacOS X: MacOS apparently uses smaller buffers by default, so they weren't being allocated as large objects.
-
- Jul 24, 2007
-
-
Ross Paterson authored
-
Ross Paterson authored
-
- Jul 22, 2007
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Jul 21, 2007
-
-
Ian Lynagh authored
The name collision with System.Posix.IO.openFd made my brain hurt.
-
Ian Lynagh authored
-
- Jul 18, 2007
-
-
Bertram Felgenhauer authored
See http://haskell.org/pipermail/libraries/2007-July/007785.html for a piece of code triggering the bug. updateAt threw away parts of the tree making up the map.
-
- Jul 19, 2007
-
-
Simon Marlow authored
This helps reduce the memory requirements for a closed but unfinalised Handle.
-