Re: Hugs doesn't follow latest layout specification
"Sigbjorn Finne" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <001701c22c14$d27a8c90$1e32a8c0@sofxp> |
Hi, thanks for the report; this infelicity wrt the report was fixed in the CVS sources about a half a year ago. --sigbjorn ----- Original Message ----- From: "Mark Tullsen" <[email protected]> To: <[email protected]> Sent: Friday, July 12, 2002 13:02 Subject: Hugs doesn't follow latest layout specification > In the following code snippet: > > f (x:xs) = "a" > where > f [] = "b" > > We have > > f [] => "b" -- in ghc and nhc98 and /latest/ Report > f [] => Program error: {f []} -- in hugs > > It appears that Hugs has not been updated to follow the > most current Haskell98 Report which explicates the > layout rules in more detail. (Which specifies that the above > 'where' construct should bind nothing rather than binding > the "f [] = ...".) > > - Mark > > _______________________________________________ > Hugs-Bugs mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/hugs-bugs