momonorphisation and imperative/weak type variables

Henry Cejtin henry@sourcelight.com
Thu, 24 Aug 2000 17:38:07 -0500


A fine example, but I prefer one which avoids ref's.  Just replace the increment
of r with `print "hello\n"'.  I'm assuming that the old SML only noticed refs
in its imperative/weak type variables, but not effects like that.