1 (* Copyright (C
) 1999-2005 Henry Cejtin
, Matthew Fluet
, Suresh
2 * Jagannathan
, and Stephen Weeks
.
4 * MLton is released under a BSD
-style license
.
5 * See the file MLton
-LICENSE for details
.
8 structure FixedPoint
: FIXED_POINT
=
11 fun fix
{start
, step
, equals
} =
22 fun fix
' (f
: (unit
-> unit
) -> unit
) =
25 let val changed
= ref
false
26 in f(fn () => changed
:= true);