[erlang-questions] guard sequences problem

Circular Function <>
Wed Jun 18 13:47:11 CEST 2008

36> 5<4,12<2,12>4.

37> 5<4;12<2;12>4.
* 1: syntax error before: 12

so apparently when separating with , it just evaluates the last expression, or at leats only returns the result of that.
and if i understand the manual right guard sequences should be written like that but apparently not.
first expression is short for
40> begin 4<2, 3>2 end.

Sök efter kärleken!
Hitta din tvillingsjäl på Yahoo! Dejting: http://ad.doubleclick.net/clk;185753627;24584539;x?http://se.meetic.yahoo.net/index.php?mtcmk=148783
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080618/68f75327/attachment.html>

More information about the erlang-questions mailing list