diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-08-21 20:38:41 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-08-21 20:38:41 -0400 |
| commit | 12507e7eaad4fc806534644fae4c69172564d349 (patch) | |
| tree | c285487e669b624fa215f7dd0f76633611e6d70c | |
| parent | a23e8be6fec9510be6fbba6b3c3201e88e9785d2 (diff) | |
Fix J translation of monadic ⍒ (closes #78)
| -rw-r--r-- | doc/fromJ.md | 2 | ||||
| -rw-r--r-- | docs/doc/fromJ.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/fromJ.md b/doc/fromJ.md index 8c764432..efe976d6 100644 --- a/doc/fromJ.md +++ b/doc/fromJ.md @@ -73,7 +73,7 @@ Functions `+` `-` `|` `<` `>` are the same in both languages. | BQN | `⍋` | `⍒` | `⊏` | `⊑` | `⊐` | `⊒` | `∊` | `⍷` | `⊔` | |:-----:|:----:|:-------:|:----:|:-------:|:-------:|:---:|:----:|:----:|:---------:| -| Monad | `/:` | `/:` | `{.` | `0{::,` | `i.~~.` | `…` | `~:` | `~.` | `</.i.@#` | +| Monad | `/:` | `\:` | `{.` | `0{::,` | `i.~~.` | `…` | `~:` | `~.` | `</.i.@#` | | Dyad | `I.` | `I.&:-` | `{` | `{::` | `i.` | `…` | `e.` | `E.` | `</.` | Most of BQN's combinators have J equivalents. The J equivalent `"_` for `˙` assumes a noun operand, but `˙` makes a constant function for any operand. `◶` has arguments reversed relative to `@.`, and uses an actual array of functions rather than gerunds. Besides these, BQN's `⟜` is like a J hook, that is, `F⟜G` is `(F G)`, and `⊸` applies in the opposite direction. diff --git a/docs/doc/fromJ.html b/docs/doc/fromJ.html index 489240d8..0486e60b 100644 --- a/docs/doc/fromJ.html +++ b/docs/doc/fromJ.html @@ -257,7 +257,7 @@ <tr> <td align="center">Monad</td> <td align="center"><code><span class='Function'>/</span><span class='Head'>:</span></code></td> -<td align="center"><code><span class='Function'>/</span><span class='Head'>:</span></code></td> +<td align="center"><code><span class='Value'>\</span><span class='Head'>:</span></code></td> <td align="center"><code><span class='Brace'>{</span><span class='Value'>.</span></code></td> <td align="center"><code><span class='Number'>0</span><span class='Brace'>{</span><span class='Head'>::</span><span class='Separator'>,</span></code></td> <td align="center"><code><span class='Value'>i.~~.</span></code></td> |
