By jober
via artfulcode.net
Submitted: Feb 27 2008 / 14:44
One of the handier features of modern functional languages like Erlang and OCaml is the use of unification to match arity against function definitions. The ability to define a function in terms of the type and number of arguments passed is both expressive and useful.
SaveShareSend
Tags: how-to, other languages
Add your comment