[erlang-questions] (newbie) Using Functions as Guards in Erlang

Doug Edmunds <>
Fri Jun 13 08:25:29 CEST 2008


check out the discussion on
http://wrongnotes.blogspot.com/2007/09/little-erlang.html

"The solution is to call the function and store it in a
variable before we use it in the guard conditions."

-dae

2008/6/12 Fuad Tabba <>:

> Hi,
>


> I've run into problem trying to use functions as guards in Erlang. I looked
> through the manual, and
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080612/8c7afd79/attachment.html>


More information about the erlang-questions mailing list