[erlang-questions] Badmatch doesn't propage up in an application?

Adam Lindberg <>
Fri Oct 31 08:13:11 CET 2008


On Fri, Oct 31, 2008 at 07:33, Kevin <> wrote:

> In this lib file there's badmatch error certain to happen.
>
> Listen = hydralib:get_first_arg(listen),
>
> get_first_arg actually returns {ok, Listen}.  This was a very recent
> rewrite.
>

Is Listen bound at the time? If it's not, then there will be no bad match
there.

Cheers,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081031/34b3a42b/attachment.html>


More information about the erlang-questions mailing list