From 2c50d91ec7eb8bc7890befe874a0b93729c2437e Mon Sep 17 00:00:00 2001 From: razetime Date: Wed, 19 Jan 2022 22:48:16 +0530 Subject: add h2s remove copied output, ascii filenames --- help/catch.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 help/catch.md (limited to 'help/catch.md') diff --git a/help/catch.md b/help/catch.md new file mode 100644 index 00000000..5f1b3087 --- /dev/null +++ b/help/catch.md @@ -0,0 +1,17 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/catch.html).* + +# Circled Triangle Down (`⎊`) + +## `𝔽⎊𝔾 𝕩`, `𝕨 𝔽⎊𝔾 𝕩`: Catch + +Apply `𝔽` to the arguments. + +If an error happens when `𝔽` is applied, cancel its execution, apply `𝔾` to the arguments and return the results. + +Otherwise, return the results of `𝔽`. + + ∾⎊{"error occurred with argument: "∾•Fmt 𝕩} 1 + + ∾⎊{"error occurred with argument: "∾•Fmt 𝕩} ⟨⟨1,2⟩, ⟨3,4⟩⟩ + + -- cgit v1.2.3