[MLton] Fixed points in SML

skaller skaller at users.sourceforge.net
Wed Aug 30 05:58:27 PDT 2006


On Wed, 2006-08-30 at 14:09 +0200, Wesley W. Terpstra wrote:

> >> let rec fix f x = f (fix f) x
> > I assume Wesley wants to disallow the use of built-in recursion as  
> > well.
> I did, but skaller's implementation is definitely the prettiest. :-)

Written by Jacques Garrigue .. I put it in my Ocaml 
stuff in case I ever figured out how to use it :)

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net




More information about the MLton mailing list