Re: Maps, was Re: GHC source code improvement ideas

2008-01-06 Thread Adrian Hey
Christian Maeder wrote: Simon Marlow wrote: Regarding Data.Map, I'd be interested in trying out AVL trees instead, to see if they have better performance, but then we'd have to import the code of course. Surely, we want the best maps possible for ghc and as public library (and minimize

Re: Rank-2 polymorphism and pattern matching

2008-01-06 Thread Jim Apple
On Jan 4, 2008 5:15 AM, Simon Peyton-Jones [EMAIL PROTECTED] wrote: | The following won't compile for me | | isnull :: (forall a . [a]) - Bool | isnull ([] :: forall b . [b]) = True | | Couldn't match expected type `forall b. [b]' | against inferred type `[a]' |

Re: binary-dists for ghc-6.8.2

2008-01-06 Thread Ian Lynagh
Hi Chris, On Sat, Jan 05, 2008 at 03:38:58PM -0500, Chris Saunders wrote: Will there be a binary release for Windows x86_64? Unfortunately not in the near future; see this ticket for more details: http://hackage.haskell.org/trac/ghc/ticket/1884 Thanks Ian

Re: GHC 6.8.1 port on FreeBSD-amd64?

2008-01-06 Thread Ian Lynagh
On Fri, Jan 04, 2008 at 09:54:45PM +0100, Matthias Kilian wrote: [Note: already shortly discussed with Wilhelm] On Fri, Nov 23, 2007 at 12:30:06PM +, Wilhelm B. Kloke wrote: ../../compiler/stage1/ghc-inplace -package-name unix-2.2.0.0 -hide-all-packages -i -idist/build/autogen

Re: GHC 6.8.1 port on FreeBSD-amd64?

2008-01-06 Thread Matthias Kilian
On Sun, Jan 06, 2008 at 05:20:18PM +, Ian Lynagh wrote: Prologue junk?: .type s32x_ret, @function s32x_ret: pushl %ebp movl%esp, %ebp I see nearly the same problem with ghc-6.8.2 on OpenBSD, using the gcc-3.3.5 included in its base system.

Re: GHC Core question

2008-01-06 Thread Tim Chevalier
On 1/5/08, Neil Mitchell [EMAIL PROTECTED] wrote: Hi I've compiled the Debug.Trace module to Core, but can't understand the resulting output. The original code is: trace string expr = unsafePerformIO $ do putTraceMsg string return expr The core is: Debug.Trace.trace = \ (@

Re: Module system, was Re: GHC source code improvement ideas

2008-01-06 Thread Brian Hulley
Johannes Waldmann wrote: Brian Hulley wrote: In the long term, Haskell needs a better module system IMHO [...] I agree with the symptoms that were described, but I draw a different conclusion. We don't need to change the language - we need better tools (IDEs) that operate not at the textual

Re: GHC 6.8.1 port on FreeBSD-amd64?

2008-01-06 Thread Wilhelm B. Kloke
Matthias Kilian [EMAIL PROTECTED] schrieb: On Sun, Jan 06, 2008 at 05:20:18PM +, Ian Lynagh wrote: Prologue junk?: .type s32x_ret, @function s32x_ret: pushl %ebp movl%esp, %ebp I see nearly the same problem with ghc-6.8.2 on OpenBSD, using