diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-26 13:37:40 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-26 13:37:40 -0500 |
| commit | 9056bc6293710cf8cc418ceb5cded8cd09ba78a4 (patch) | |
| tree | 2542edde03ebf265c5a7ef16d7a877f8a5277769 /doc | |
| parent | d1165cb40a603cbe89d6914815132d166f51a56b (diff) | |
Add ⋈ to Dyalog and J dictionaries
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/fromDyalog.md | 10 | ||||
| -rw-r--r-- | doc/fromJ.md | 20 |
2 files changed, 17 insertions, 13 deletions
diff --git a/doc/fromDyalog.md b/doc/fromDyalog.md index 712e5e56..6bdb99e6 100644 --- a/doc/fromDyalog.md +++ b/doc/fromDyalog.md @@ -62,10 +62,10 @@ Here are some closest equivalents in Dyalog APL for the BQN functions that don't | Monad | `*` | `*∘(÷2)` | `[⍋]` | `[⍒]` | `~` | `≢⍤⍴` | `≢` | `⊂` | `↑` | `⍴` | `,` | | Dyad | `*` | `*∘÷⍨` | `∧` | `∨` | `1+-` | `=` | `≠` | `<` | `>` | `≢` | `⍴` | -| BQN | `∾` | `≍` | `↑` | `↓` | `↕` | `»` | `«` | -|:-----:|:-----:|:------:|:----:|:-------:|:----:|:------------:|:-------------:| -| Monad | `⊃,⌿` | `↑,⍥⊂` | `,⍀` | `⌽,⌽⍀⌽` | `⍳` | `≢↑(¯1-≢)↑⊢` | `-⍤≢↑(1+≢)↑⊢` | -| Dyad | `⍪` | `↑,⍥⊂` | `↑` | `↓` | `,⌿` | `≢⍤⊢↑⍪` | `-⍤≢⍤⊢↑⍪⍨` | +| BQN | `∾` | `≍` | `⋈` | `↑` | `↓` | `↕` | `»` | `«` | +|:-----:|:-----:|:------:|:-----:|:----:|:-------:|:----:|:------------:|:-------------:| +| Monad | `⊃,⌿` | `↑,⍥⊂` | `,⍥⊂` | `,⍀` | `⌽,⌽⍀⌽` | `⍳` | `≢↑(¯1-≢)↑⊢` | `-⍤≢↑(1+≢)↑⊢` | +| Dyad | `⍪` | `↑,⍥⊂` | `,⍥⊂` | `↑` | `↓` | `,⌿` | `≢⍤⊢↑⍪` | `-⍤≢⍤⊢↑⍪⍨` | | BQN | `/` | `⍋` | `⍒` | `⊏` | `⊑` | `⊐` | `⊒` | `∊` | `⍷` | `⊔` | |:-----:|:---:|:---:|:-----:|:----:|:---:|:-----:|:---:|:---:|:---:|:----------:| @@ -115,7 +115,7 @@ The form `F⍣G` (Power with a function right operand; Power limit) must be impl <tr><td> <code>⍋</code> </td><td> <code>⍋</code> </td><td> Give up </td> </tr> <tr><td> <code>⍒</code> </td><td> <code>⍒</code> </td><td> Give up </td> </tr> <tr><td> <code>≢</code> </td><td> <code>≠</code> </td><td> <code>≢</code></td> </tr> -<tr><td> <code>⍎</code> </td><td colspan=2><code>•Eval</code></td> </tr> +<tr><td> <code>⍎</code> </td><td colspan=2><code>•BQN</code></td> </tr> <tr><td> <code>⍕</code> </td><td colspan=2><code>•Fmt</code></td> </tr> <tr><td> <code>⊥</code> </td><td> </td><td> <code>{+⟜(𝕨⊸×)´⌽𝕩}</code> </td></tr> <tr><td> <code>⊤</code> </td><td> </td><td> <code>{>𝕨|⌊∘÷`⌾⌽𝕨«˜<𝕩}</code></td></tr> diff --git a/doc/fromJ.md b/doc/fromJ.md index 73a79f9c..ecca06f3 100644 --- a/doc/fromJ.md +++ b/doc/fromJ.md @@ -53,14 +53,18 @@ J analogues of BQN primitive functions are given below. They are not always the Functions `+` `-` `|` `<` `>` are the same in both languages. -| BQN | `×` | `÷` | `⋆` | `√` | `⌊` | `⌈` | `≤` | `≥` | `⊣` | `⊢` | `⌽` | `⍉` | -|:---:|:---:|:---:|:---:|:----:|:----:|:----:|:----:|:----:|:---:|:---:|:-----:|:-----:| -| J | `*` | `%` | `^` | `%:` | `<.` | `>.` | `<:` | `>:` | `[` | `]` | `\|.` | `\|:` | +| BQN | `×` | `÷` | `⋆` | `√` | `⌊` | `⌈` | `≤` | `≥` | `⊣` | `⊢` | +|:---:|:---:|:---:|:---:|:----:|:----:|:----:|:----:|:----:|:---:|:---:| +| J | `*` | `%` | `^` | `%:` | `<.` | `>.` | `<:` | `>:` | `[` | `]` | -| BQN | `∧` | `∨` | `¬` | `=` | `≠` | `≡` | `≢` | `⥊` | `∾` | `≍` | -|:-----:|:-----:|:-----:|:-----:|:-----:|:----:|:----:|:-------:|:---:|:---:|:----:| -| Monad | `/:~` | `\:~` | `-.` | `#@$` | `#` | `L.` | `$` | `,` | `;` | `,:` | -| Dyad | `*.` | `+.` | `+-.` | `=` | `~:` | `-:` | `-.@-:` | `$` | `,` | `,:` | +| BQN | `≍` | `⋈` | `⌽` | `⍉` | +|:---:|:----:|:------:|:-----:|:-----:| +| J | `,:` | `,&:<` | `\|.` | `\|:` | + +| BQN | `∧` | `∨` | `¬` | `=` | `≠` | `≡` | `≢` | `⥊` | `∾` | +|:-----:|:-----:|:-----:|:-----:|:-----:|:----:|:----:|:-------:|:---:|:---:| +| Monad | `/:~` | `\:~` | `-.` | `#@$` | `#` | `L.` | `$` | `,` | `;` | +| Dyad | `*.` | `+.` | `+-.` | `=` | `~:` | `-:` | `-.@-:` | `$` | `,` | | BQN | `↑` | `↓` | `↕` | `»` | `«` | `/` | |:-----:|:----:|:-----:|:----:|:--------------:|:---------------:|:----:| @@ -138,7 +142,7 @@ The tables below give approximate implementations of J primitives. J has a whole | `{::`| | `⊑` | `}.` | `1⊸↓` | `↓` | `}:` | `¯1⊸↓` | -| `".` | `•Eval` | +| `".` | `•BQN` | | `":` | `•Fmt` | | `?` | `•rand.Range⚇0` | `•rand.Deal` | `e.` | `><∘∾∊¨⊢` | `∊` |
