FW: Layout indentation marking

2002-03-12 Thread Simon Peyton-Jones
I agree with Ian here (and not just because of what GHC does!) Does anyone disagree? Simon -Original Message- From: Ian Lynagh [mailto:[EMAIL PROTECTED]] Sent: 10 March 2002 15:23 To: Haskell list Subject: Layout indentation marking Given this module module Main where

Layout indentation marking

2002-03-10 Thread Ian Lynagh
Given this module module Main where main :: IO() main = putStrLn $ show $ foo foo :: Int foo = x + y where x = 6 s = foo\ \bar y = 7 nhc98 and hugs correctly (as per the revised report) print 13. ghc gives q.lhs:11: parse error on input `=' I