DEV Community

Discussion on: Daily Challenge #123 - Curry me Softly

Collapse
 
peterbunting profile image
Peter Bunting

In F#:

let add x y = x + y
let add10 = add 10

// add10 is now a curried function
add10 1 // = 11
add10 50 // = 60