I just learned from another question that Haskell is called a curried programming language because it applies function currying by default. What are other languages that display this behavior?
The tops 8 programming languages for kids are Scratch, Python, Java, Ruby, C++, Swift, Lua, Alice.
Of the less esoteric languages it is mainly Haskell:
f x y z = x + y * z
g = f 4
r = g 7 8
OCaml and F#:
let f x y z = x + y * z
let g = f 4
let r = g 7 8
and to a lesser extent SML (where libraries use currying less):
fun f x y z = x + y * z
val g = f 4
val r = g 7 8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With