Re: incompatible signatur syntax within instance definition

2003-12-09 Thread Fergus Henderson
On 08-Dec-2003, Christian Maeder <[EMAIL PROTECTED]> wrote: > Fergus Henderson wrote: > >I think the issue here is that in ghc (with -fglasgow-exts), > >the "a" here refers to the same type variable "a" in the > >top of the instance declaration, whic

Re: incompatible signatur syntax within instance definition

2003-12-10 Thread Fergus Henderson
On 09-Dec-2003, Christian Maeder <[EMAIL PROTECTED]> wrote: > Fergus Henderson wrote: > >Or were you referring to the fact that variables which are already > >constrained can't be constrained again? IMHO that is a feature too. > >It doesn't make sense to co

haskell operator precedence

1997-03-18 Thread Fergus Henderson
grammar in the Haskell report, I don't think it is. However, ghc-0.24 (ancient, I know) and Hugs 1.3 both accept it without complaint. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit" PGP: finger [EMAIL PROTECTED] | -- the last words of T. S. Garp.

Re: haskell operator precedence

1997-03-18 Thread Fergus Henderson
s > complains > ERROR "tmp.hs" (line 7): Ambiguous use of operator "foo" with "bar" Ah. Thank you for reading my mind. Now why can't ghc and Hugs do that? ;-) ;-) Sorry about that. (I really should think a bit harder before mailing this list, lest I

Re: Existential types, save me now?

1999-11-22 Thread Fergus Henderson
see why this doesn't work: but any ideas on how to fix? Hmm, I'm not sure exactly what you're trying to achieve here... but perhaps you just need to add instance Ord AnyOrd where compare (MkAnyOrd x) (MkAnyOrd y) = compare x y to make it work. -

Re: Existential types, save me now?

1999-11-22 Thread Fergus Henderson
be well-typed. Oh, of course -- you're quite correct. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit" PGP: finger [EMAIL PROTECTED]| -- the last words of T. S. Garp.

Re: Wanted: mmap or other fast IO

2000-02-16 Thread Fergus Henderson
han allocating it on the heap at run-time. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit" PGP: finger [EMAIL PROTECTED]| -- the last words of T. S. Garp.

Re: Overloaded function and implicit parameter passing

2000-10-23 Thread Fergus Henderson
y comment on what is going on with GHC? That sure looks to me like a bug in GHC's support for implicit parameter passing. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit | of excellence is

Re: GHC HQ are looking for a Linux-IA64 box

2001-03-12 Thread Fergus Henderson
On 12-Mar-2001, Julian Seward (Intl Vendor) <[EMAIL PROTECTED]> wrote: > > Does any kind person have an IA64 box, running Linux, on which we could > have an account? You might want to check out SourceForge: <http://ia-64.sourceforge.net/>. -- Fergus Henderson <[EMAIL

Re: FWD: Re: GHC FFI Return Type Bug

2001-08-08 Thread Fergus Henderson
NU C front-end if you really want. I think this is required by traditional K&R C code, which does things like calling such functions without declaring them. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit The University of Melbourne | o

Re: FWD: Re: GHC FFI Return Type Bug

2001-08-08 Thread Fergus Henderson
On 08-Aug-2001, Fergus Henderson <[EMAIL PROTECTED]> wrote: > Sigbjorn Finne <[EMAIL PROTECTED]> wrote: > > > > "Julian Seward (Intl Vendor)" <[EMAIL PROTECTED]> writes: > > > > > > | > char fooble ( ... ) > > > | > { &