fixity for (\\)

Jon Fairbairn jf15@hermes.cam.ac.uk
Wed, 17 Jan 2001 16:41:07 +0000 (GMT)


On Wed, 17 Jan 2001, Koen Claessen wrote:
> I propose that it gets the following fixity:
>=20
>   infixl 5 \\

Unless the it's common usage outside of Haskell, I oppose!

Getting=20

   List> [1,2,3]\\[2]\\[3]
   ERROR: Ambiguous use of operator "(\\)" with "(\\)"

at compile time does no harm, but getting [1] instead of
[1,3] _at run time_ does do harm.
  J=F3n
--=20
J=F3n Fairbairn                                 Jon.Fairbairn@cl.cam.ac.uk
31  Chalmers Road                                        jf@cl.cam.ac.uk
Cambridge CB1 3SZ                      +44 1223 570179 (pm only, please)