Haskell

The fact that Haskell is included in this listing of languages indicates how important the functional paradigm is to this book. Haskell is a purely functional language designed by committee and released in 1998. It has several fascinating features, most notably lazy evaluation, whereby the value of a given piece of data does not need to be known (or even meaningful) until it needs to be used. This allows a programmer to define things in terms of infinite series, such as the set of all integers.

Haskell is the language used for Pugs, an implementation of the new Perl 6 language, which some people think is drawing more attention to Haskell than to Perl itself. Haskell has an interactive environment similar to Ruby’s irb, but it doesn’t allow ...

Get Ruby by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.