DISQUS

DISQUS Hello! Phil Dawes' Stuff is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Currying

Started by phildawes · 9 months ago

I’ve been playing around with the ML language recently, using the OCaml implementation.
Picking up ML illustrates to me why it’s useful to learn a number of different languages in order to experience various styles of programming - it’s sometimes not enough th ... Continue reading »

1 comment

  • A number of languages support currying (or "closures" as I learnt it) but you're right in that it's deep in the language rather than an extra like others.

    You can create functions that way too. E.g.

    let alphasort = maplist alpha_gt

    would leave alphasort with type

    list -> list

Add New Comment

Returning? Login