Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a list of curried programming languages?

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?

like image 594
MaiaVictor Avatar asked Jun 27 '12 02:06

MaiaVictor


People also ask

What are the 8 programming languages?

The tops 8 programming languages for kids are Scratch, Python, Java, Ruby, C++, Swift, Lua, Alice.


1 Answers

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
like image 162
Andreas Rossberg Avatar answered Oct 16 '22 16:10

Andreas Rossberg