<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 01/20/2012 10:46 AM, Tom Murphy wrote:
<blockquote
cite="mid:CAO9Q0tUFBUgKvW2XLpmHkrJ5y9HwZRJZ669=_VQ3H_NzgjUpaA@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<p>On Jan 20, 2012 1:39 AM, "Ahmed Al-Saadi" <<a
moz-do-not-send="true" href="mailto:thaterlangguy@gmail.com">thaterlangguy@gmail.com</a>>
wrote:<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.<br>
</p>
</blockquote>
Erlang already has pure functions that are called "guards" (these
functions do not create side-effects).<br>
</body>
</html>