[erlang-questions] erlang-questions Digest, Vol 12, Issue 98

John Haugeland stonecypher@REDACTED
Mon Jun 2 19:09:28 CEST 2008


>
> 1. You don't tried to compile it (illegal guard expression).
>

Yeah, well, it's easily fixed.  I'm at work and I don't have an erlang shell
here.




> 2. It can't be selective receive.
>

Why not?

isa_foo(Bar) -> case Bar of { foo, _, ThingToSelect } -> { true,
ThingToSelect }; _ -> false end.

etc




  - John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080602/508e54c7/attachment.htm>


More information about the erlang-questions mailing list