Simon Peyton-Jones <[EMAIL PROTECTED]> writes:
> I don't think this would be too hard to implement in GHC. Now I think
> about it, it's rather attractive. I wonder what other people think?
> Perhaps {-# SYNTAX #-} is a bit noisy -- but Haskell's philosophy is
> to signal very clearly when something non-Prelude is going on.
Any reason for not simply requiring overridden operators to be
explicitly qualified? E.g.
module Foo where
import Prelude ()
data [a] = ...
x = Foo.[1, 2, 3] -- the local definition
y = [1, 2, 3] -- a list from the Prelude
-kzm
--
If I haven't seen further, it is by standing in the footprints of giants
- import List(..) ? S.D.Mechveliani
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Malcolm Wallace
- RE: import List(..) ? Simon Marlow
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- RE: import List(..) ? Sigbjorn Finne
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- RE: import List(..) ? Simon Peyton-Jones
- Re: import List(..) ? Ketil Malde
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Claus Reinke
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Daniel Russell
