aboutsummaryrefslogtreecommitdiff
path: root/help/before_bind.md
blob: 403e70922fbf8c255259ec9e8b207c3d7b116403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/before_bind.html).*

# Multimap (`⊸`)

## `π•—βŠΈπ”Ύ 𝕩`: Bind Left
[β†’full documentation](../doc/hook.md#bind)

Supply `𝕗` as a left argument to `𝔾` (`𝕗 𝔾 𝕩`).

`𝕗` is a constant, `𝔾` must be dyadic.

        3⊸- 9

        3 - 9



## `π”½βŠΈπ”Ύ 𝕩`: Before
[β†’full documentation](../doc/hook.md)

Apply `𝔽` to `𝕩`, and supply it as a left argument to `𝔾` (`(𝔽 𝕩) 𝔾 𝕩`).

`𝔽` must be monadic, `𝔾` must be dyadic.

        -⊸+ 9

        - + 9

        (- 9) + 9



## `𝕨 π”½βŠΈπ”Ύ 𝕩`: Dyadic Before
[β†’full documentation](../doc/hook.md)

Apply `𝔽` to `𝕨`, and supply it as a left argument to `𝔾` (`(𝔽 𝕨) 𝔾 𝕩`).

`𝔽` must be monadic, `𝔾` must be dyadic.

        2 -⊸+ 1

        2 - + 1

        (- 2) + 1