Skip to content
New issue

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

try/catch/finally - explicit syntax documentation #44

Open
callendorph opened this issue Apr 2, 2024 · 0 comments
Open

try/catch/finally - explicit syntax documentation #44

callendorph opened this issue Apr 2, 2024 · 0 comments

Comments

@callendorph
Copy link
Contributor

Can we please add an explicit description of the syntax in the try/catch/finally section.

For example - the docs don't suggest that the catch can be optional but it clearly can:

(venv) ➜  slm git:(jw/add-pkgdependency) stanza repl
stanza> try:
      >   println("asdf")
      > finally:
      >   println("qwer")
      > 
asdf
qwer
false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant