aboutsummaryrefslogtreecommitdiff
path: root/help/leftargument.md
blob: bda7fedcfa2ec4b2b5a02147ca2842c19948d02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/leftargument.html).*

# Mathematical Double-struck W (`๐•จ`)

## `๐•จ`: Left Argument
[โ†’full documentation](../doc/syntax.md#blocks)

A variable assigned to the left argument of a block. `๐•Ž` can be used to access the left argument as a function.

        5 {๐•จ} 1

        -โ€ฟรท {๐•Ž๐•ฉ}ยจ 4

In a call with no left argument, `๐•จ` functions as [Nothing](nothing.md) and `๐•Ž` can't be used.

        {(-๐•จ)โ‹ˆ๐•ฉ} 6

        2 {(-๐•จ)โ‹ˆ๐•ฉ} 6