blob: 2674657735035a8fd4dec9106cfa70c9ad95201d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/currentfunction.html).*
# Mathematical Double-struck S (`π`)
## `π`: Current Function
[βfull documentation](../doc/syntax.md#blocks)
A variable assigned to the current function block. `π€` accesses the same value but has a subject role.
`π` can be used for recursion.
F β {π 0: 1; π© Γ π π©-1} # Factorial
F 5
{π€βΏπ€}4
|