On Apr 7, 2008, at 15:42 , Hans Aberg wrote:
But here, one would have to think about how the compiler should be able to distinguish
  data Bool = False | True
    instance (Eq)
from
  data Bool = False | True

  instance Eq Bool where
    x == y = ...

Layout already does that, doesn't it? The former, being indented, is a continuation line.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to