
No good reason. I've implemented the one-line change in my copy but we're in a code freeze until we release GHCi 5.00 on Monday. After that I'll commit it. Good idea, thank you. Simon | -----Original Message----- | From: Josef Svenningsson [mailto:josefs@cs.chalmers.se] | Sent: 05 April 2001 16:29 | To: glasgow-haskell-users@haskell.org | Subject: About rules | | | Hi all! | | I've been playing around with the rules facility a bit. There | is a boring shortcoming when working with infix operators. It | seems that the rule parser doesn't like them at all. The | following example gives syntax error: | | {-# RULES | "plus/mult" forall p . p + p = 2 * p | #-} | | whereas the following is allright: | | {-# RULES | "plus/mult" forall p . (+) p p = (*) 2 p | #-} | | It's not a big problem, but it's rather inconvenient and | ugly. Is it easy to fix? | | Cheers, | /Josef | | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-| haskell-users |
participants (1)
-
Simon Peyton-Jones