We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ perl -Ilib bin/bel Language::Bel 0.58 -- msys. > (catch (throw 'hah)) hah > (catch (bind break (fn () (throw 'break)) (break))) break
These have the expected semantics, but I just noticed that the test file for catch is extremely sparse.
catch
Maybe this one too:
$ perl -Ilib bin/bel Language::Bel 0.58 -- msys. > (mac each/b (var expr . body) `(catch (bind break (fn () (throw 'break)) (map (fn (,var) ,@body) ,expr)))) > (each/b x '(1 2 3 4 5) (pr x \lf) (if (> x 3) (break))) 1 2 3 4 break >
The text was updated successfully, but these errors were encountered:
And maybe one that does effectively a tree traversal, but breaks out of it early, returning the result-so-far.
Sorry, something went wrong.
No branches or pull requests
These have the expected semantics, but I just noticed that the test file for
catch
is extremely sparse.Maybe this one too:
The text was updated successfully, but these errors were encountered: