[rabbitmq-discuss] Catching channel disconnect

Matthias Radestock matthias at lshift.net
Wed Oct 15 07:29:05 BST 2008


Valentino Volonghi wrote:
> Is tail recursion preserved when the call or the return value is
> inside a try..catch or a case ... of ?

It is. Try this in the shell:

1> F = fun(G) -> try throw(x) catch _ -> G(G) end end.
2> F(F).


More information about the rabbitmq-discuss mailing list