[Haskell-cafe] Non-recursive let [Was: GHC bug? Let with guardsloops]
Richard A. O'Keefe
ok at cs.otago.ac.nz
Thu Jul 11 06:43:38 CEST 2013
On 11/07/2013, at 4:00 AM, Donn Cave wrote:
> I've gone to some trouble to dig up an nhc98 install (but can't seem to
> find one among my computers and GHC 7 won't build the source thanks to
> library re-orgs etc.) Because, I vaguely recall that nhc98's rules
> were different here? Anyone in a position to prove me wrong?
I have a copy of nhc98 running (v1.16 of 2003-03-08).
main = let ones = 1 : ones in print $ take 10 $ ones
So no, nhc98's rules were _not_ different.
It would have been no use as a Haskell98 compiler if they had been.
More information about the Haskell-Cafe