<p>On Jan 20, 2012 1:39 AM, "Ahmed Al-Saadi" <<a href="mailto:thaterlangguy@gmail.com">thaterlangguy@gmail.com</a>> wrote:<br>
><br>
> Abdul Fattah:<br>
><br>
> If you want a pure functional language, look at Haskell. A good indication that a programming language is purely functional is its use of monads.<br>
></p>
<p>Monads are a way of "interfacing" between pure and impure code, so in a sense this is true, but many languages (like OCaml?) bridge the divide differently. In its essence, having pure functons simply means being able to define functions which are unable to perform side-effects. So Erlang could add support for pure functions, without really needing to change anything else within the language.</p>
<p>> Erlang may not be purely functional, but it is certainly pure pleasure ;)<br>
></p>
<p>Agreed! As is Haskell - don't let monads scare you.</p>
<p>Tom</p>