[Ur] val rec and .. ? Example?

Adam Chlipala adamc at impredicative.com
Sun Apr 17 11:23:45 EDT 2011


Marc Weber wrote:
> Are there any existing samples about how / when to use val rec .. and as
> described in "declarations" in the manual page 15?
>    

I never use it explicitly in programs.  [fun ... and ...] desugars to 
[val rec ... and ...], with some automatic building of [fn] terms.  This 
is the same situation as in SML.



More information about the Ur mailing list