the impossible happened, large static list.

2009-01-28 Thread Philip Weaver
Hello. I think I've seen other people encounter this problem before, but I wasn't able to find the solution, if there is one. I have a very large static list of type [[Int]]. It is 128 lists of 128 integers each. When I try to load the module that defines this list, I get an error: ghc: pan

RE: [Haskell] type inference & instance extensions

2009-01-28 Thread Simon Peyton-Jones
[Redirecting to GHC users] The <> is a bug. Thank you! I'll Trac it. Simon | -Original Message- | From: haskell-boun...@haskell.org [mailto:haskell-boun...@haskell.org] | On Behalf Of Sittampalam, Ganesh | Sent: Monday, January 19, 2009 2:05 PM | To: hask...@haskell.org | Subject: RE: [H

Re: new build system build fails on Solaris/x86

2009-01-28 Thread Ian Lynagh
On Thu, Jan 22, 2009 at 07:16:31PM +0100, Karel Gardas wrote: > > cd libffi && patch -p0 < libffi.dllize-3.0.6.patch > Looks like a unified context diff. > Hunk #5 failed at line 344. > Hunk #6 failed at line 165. > Hunk #7 failed at line 33. > 3 out of 7 hunks failed: saving rejects to build/in

Re: how can I run ghci monad actions from ghci command line

2009-01-28 Thread Peter Hercek
Claus Reinke wrote: ghci-haskeline This package reimplements ghci using the GHC API and the Haskeline package for line input in command-line programs. Just a copy&modify of some of the GHCi sources, including a Main.hs to call the modified code. Thanks for the information. Ok, from the

Re: permissions api in directory package is useless (and possibly harmful)

2009-01-28 Thread Duncan Coutts
On Wed, 2009-01-28 at 14:57 +0100, Johan Tibell wrote: > On Wed, Jan 28, 2009 at 2:13 PM, Duncan Coutts > wrote: > > We need to think about a new better permissions api for the > > System.Directory module. The current api and also the implementation are > > at best useless and possibly harmful. >

Re: permissions api in directory package is useless (and possibly harmful)

2009-01-28 Thread Johan Tibell
On Wed, Jan 28, 2009 at 2:13 PM, Duncan Coutts wrote: > We need to think about a new better permissions api for the > System.Directory module. The current api and also the implementation are > at best useless and possibly harmful. Perhaps there's something we can learn from the rearchitecture of

permissions api in directory package is useless (and possibly harmful)

2009-01-28 Thread Duncan Coutts
All, We need to think about a new better permissions api for the System.Directory module. The current api and also the implementation are at best useless and possibly harmful. I've been trying to debug various permission problems related to installing files with Cabal on Unix and Windows. Half th

Re: how can I run ghci monad actions from ghci command line

2009-01-28 Thread Claus Reinke
manually when debugging. Most of my expriments are related to the tickets I filled in: checking whether I can have some cheap workarourd till they are implemented or whether they actually help as much as I hope. That means that for anything more complicated I need access directly to the repres