RE: new -fext-core bug (X = zdwX)

2002-11-28 Thread Simon Peyton-Jones
|Prelude.LT :: Prelude.Ordering = Prelude.zdwLT; |Prelude.GT :: Prelude.Ordering = Prelude.zdwGT; |Prelude.EQ :: Prelude.Ordering = Prelude.zdwEQ; | | Except these last three lines are backwards. They should read: | |Prelude.zdwLT :: Prelude.Ordering = Prelude.LT; Not so, in

[ ghc-Bugs-644657 ] interface decl for PrelTup

2002-11-28 Thread noreply
Bugs item #644657, was opened at 2002-11-27 10:43 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=644657group_id=8032 Category: Compiler Group: 5.02 Status: Closed Resolution: Wont Fix Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

TH bug?

2002-11-28 Thread Reto Kramer
If tried to compile the Print.hs file below (based on the yesterday's mailing list discussion around the th printf example). I get the following error message (5.05, MAIN line, Nov 26th build), but I'm not sure if I did something really silly or if there's a genuine bug in the compiler. Can you

RE: incorrect type error message

2002-11-28 Thread Simon Peyton-Jones
Your wish is my command | The reason there's an error message at all is because of the | monomorphism restriction. So that's not surprising. | Can you suggest a better error message? I'm always looking for ways to | report errors more informatively. | | It may be hard to do, but it would

[ ghc-Bugs-645296 ] configure doesn't recognise platform

2002-11-28 Thread noreply
Bugs item #645296, was opened at 2002-11-28 06:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=645296group_id=8032 Category: Build System Group: 5.04.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

[ ghc-Bugs-645296 ] configure doesn't recognise platform

2002-11-28 Thread noreply
Bugs item #645296, was opened at 2002-11-28 06:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=645296group_id=8032 Category: Build System Group: 5.04.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

RE: new -fext-core bug (X = zdwX)

2002-11-28 Thread Hal Daume III
Okay, my bad. Then there's a bug in the core parser, since it doesn't accept these. The toplevel 'vdef' non-terminal expects first a qname, which is name or mname '.' name. However, according to the lexer, name must begin with a lower-case character...should this be changed so that 'vdef'

[ ghc-Bugs-645296 ] configure doesn't recognise platform

2002-11-28 Thread noreply
Bugs item #645296, was opened at 2002-11-28 14:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=645296group_id=8032 Category: Build System Group: 5.04.1 Status: Closed Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

Re: incorrect type error message

2002-11-28 Thread Bernard James POPE
cam-02-unx:~/tmp$ $gpj -c Foo.hs Foo.hs:5: No instance for (Num (f a)) arising from the literal `1' at Foo.hs:5 Probable cause: the monomorphism restriction applied to the following: e :: f a (bound at Foo.hs:5) In the second argument of `fmap', namely `1' In