Re: ANN: ghc 6.8.2 from MacPorts

2008-04-24 Thread Bjorn Bringert
On Thu, Apr 24, 2008 at 3:25 PM, Gregory Wright <[EMAIL PROTECTED]> wrote: > On Apr 24, 2008, at 6:41 AM, Bjorn Bringert wrote: > > On Thu, Mar 6, 2008 at 7:57 PM, Wouter Swierstra <[EMAIL PROTECTED]> > wrote: > > > > > Hi Greg, > > > > > > Thanks again for maintaining ghc in macports! > > > > > >

Re: ANN: ghc 6.8.2 from MacPorts

2008-04-24 Thread Gregory Wright
Hi Björn, On Apr 24, 2008, at 6:41 AM, Bjorn Bringert wrote: On Thu, Mar 6, 2008 at 7:57 PM, Wouter Swierstra <[EMAIL PROTECTED]> wrote: Hi Greg, Thanks again for maintaining ghc in macports! I tried installing ghc through macports. Unfortunately, the build failed with the following erro

Re: ANN: ghc 6.8.2 from MacPorts

2008-04-24 Thread Bjorn Bringert
On Thu, Mar 6, 2008 at 7:57 PM, Wouter Swierstra <[EMAIL PROTECTED]> wrote: > Hi Greg, > > Thanks again for maintaining ghc in macports! > > I tried installing ghc through macports. Unfortunately, the build failed > with the following error message below. I'd be happy to send you a complete > log

RE: [Haskell] How to define tail function for Even/Odd GADT lists?

2008-04-24 Thread Simon Peyton-Jones
[Redirecting to ghc-users] You're right that tailList "ought" to work. There are at least two reasons that it doesn't. First, GHC does not have a robust implementation of GADTs + functional dependencies. The interaction is very tricky. So I tried re-expressing it using type families, thus: