Currying and Function Binding
Sherry Hsu

I’ve been learning Standard ML recently, it helped make currying clear as functions have one and only one argument. The function decoration syntax is sugar for declaring a chain of builder functions. For example, fun f x y z = x+y+z is sugar for val f = fn x => fn y => fn z => x+y+z.

Like what you read? Give Jonathan Wright a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.