From f3d45a1ca914d59968531a6d5c409d80b73e53c3 Mon Sep 17 00:00:00 2001 From: razetime Date: Thu, 20 Jan 2022 11:57:50 +0530 Subject: complete REPL help for symbols --- help/currentfunction.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 help/currentfunction.md (limited to 'help/currentfunction.md') diff --git a/help/currentfunction.md b/help/currentfunction.md new file mode 100644 index 00000000..f2c5e16d --- /dev/null +++ b/help/currentfunction.md @@ -0,0 +1,14 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/currentfunction.html).* + +# Mathematical Double-struck S (`π•Š`) + +## `π•Š`: Current Function + +A variable assigned to the current function block. `𝕀` can be used to access the current function block as a value. + +`π•Š` can be used for recursion. + + F ← {π•Š 0: 1; 𝕩 Γ— π•Š 𝕩-1} # Factorial + F 5 + + {𝕀‿𝕀}4 \ No newline at end of file -- cgit v1.2.3