[erlang-questions] Reassigning variables

Matthew Dempsky matthew@REDACTED
Tue Mar 17 23:45:06 CET 2009


On Tue, Mar 17, 2009 at 2:42 PM, Vance Shipley <vances@REDACTED> wrote:
> Doesn't it?

No.

Your example messes up if requested_ad_size, has_ads, or is_filtering
throws an exception.

I can do "throw {skip, Reason}", and match on just that, but that
breaks when an underlying functions starts throwing exceptions of the
form {skip, _}.



More information about the erlang-questions mailing list