
18 May
2009
18 May
'09
12:14 p.m.
Hi
data S = S { a :: Int, b :: ! Int }
Main> a (S { a = 0, b = 1 }) 0 Main> a (S { a = 0, b = undefined }) 0
Ho hum. Is this a "known difference"?
I've submitted a bug: http://hackage.haskell.org/trac/hugs/ticket/92
As an ex teaching assistant my recommendation is "Use ghci!".
I helped to teach using WinHugs, which was quite nice. Auto reload cuts out one very frequent source of problems. Thanks Neil