Computer Programming/Functional programming/At a glance

< Computer Programming < Functional programming

Characteristics

for (i=0; i<100; i:=i+1) { /* do some stuff */}

. In such cases we generally write recursive functions to do the same computation.

Features

Here are some typical features of functional languages

The languages

There are many so-called functional languages. The most widely used pure functional languages (that is, ones whose programs have no side effects) are Haskell and Erlang. Other popular functional languages which are not pure in the strict sense but still support the functional programming style in its full splendor are ML, Objective Caml, Scheme and Lisp.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.