Currying in ML
fun times x y = x*y;
val times = fn : int * int -> int
val times10 = times 10;
val times10 = fn : int -> int
times10 5;
val it = 50
Previous slide
Next slide
Back to first slide
View graphic version