What are the preconditions of newArray#

2011-08-19 Thread Johan Tibell
Hi, I'm seeing a segfault which I suspect is due to allocating Array#s of size 0, using newArray#. Are zero length arrays allowed? What are the preconditions of newArray#? It'd be great if they were documented. -- Johan ___ Glasgow-haskell-users mailin

Re: Can't find interface-file declaration for type constructor or class integer-gmp:GHC.Integer.Type.Integer

2011-08-19 Thread Johan Tibell
That sounds like another reason to keep things as they were. The benefits of moving things around are internal to the package while the downsides are external (breaking packages). On Fri, Aug 19, 2011 at 11:09 AM, Lennart Augustsson wrote: > Also beware that Typeable uses the original names of ty

Re: Can't find interface-file declaration for type constructor or class integer-gmp:GHC.Integer.Type.Integer

2011-08-19 Thread Lennart Augustsson
Also beware that Typeable uses the original names of types, which means that moving basic types around totally wrecks backwards compatibility for those of us who use the type name for serialization etc. -- Lennart (iPhone) On Aug 19, 2011, at 11:00, Johan Tibell wrote: > These two paralle

Re: Can't find interface-file declaration for type constructor or class integer-gmp:GHC.Integer.Type.Integer

2011-08-19 Thread Johan Tibell
These two parallel discussions are getting a bit confusing so I suggest we continue the discussion on the ticket. :) On Fri, Aug 19, 2011 at 12:39 AM, Simon Peyton-Jones wrote: > It's hard to know what Ian had in mind, but I'm sure he'll tell us when he > gets back from holiday. > > Meanwhile, y

Re: ANNOUNCE: GHC version 7.2.1

2011-08-19 Thread Jens Petersen
> I have done a test build of 7.2.1 for Fedora [17]: > http://koji.fedoraproject.org/koji/taskinfo?taskID=3267317 > The test results with system libffi are the same as I reported earlier > except for 1 unexpected failure on x86_64: >   ghci/should_run  3171 [bad stdout] (normal) Out of curiosity