<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Your idea is interesting. However, doesn't it ruin the simplicity
of guards? It seems as if this proposal would make guards generate
side-effects which should impact both testability and optimization
opportunities. Isn't this a concern?<br>
<br>
On 04/12/2012 04:51 PM, Erik Søe Sørensen wrote:
<blockquote cite="mid:4F876A82.4030904@gmail.com" type="cite">Hello
all -
<br>
<br>
Attached is a proposal to add to the Erlang language an operator
which allows for pattern matching to be used in new contexts, in
particular within guard expressions.
<br>
<br>
I hope the writeup to be in the expected format, as well as
describing a sufficiently interesting idea.
<br>
<br>
Regards,
<br>
Erik Søe Sørensen
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
eeps mailing list
<a class="moz-txt-link-abbreviated" href="mailto:eeps@erlang.org">eeps@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/eeps">http://erlang.org/mailman/listinfo/eeps</a>
</pre>
</blockquote>
<br>
</body>
</html>