newbie question
Richard Carlsson
richardc@REDACTED
Mon May 23 16:25:24 CEST 2005
Thomas Lindgren wrote:
> (Also, as an aside, it might be worth noting that a
> 'cond' expression was floated some time ago, which as
> far as I could tell was more lenient. But perhaps we
> can for once use Occam's razor and not multiply
> entities without necessity.)
I thought I fixed this along with 'try':
Erlang (BEAM) emulator version 5.5 [source] [hipe]
Eshell V5.5 (abort with ^G)
1> cond lists:reverse("foo") == "oof" -> yes; true -> no end.
yes
But it seems like it has not been documented...
/Richard
More information about the erlang-questions
mailing list