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 _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users