aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-08-21 20:38:41 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-08-21 20:38:41 -0400
commit12507e7eaad4fc806534644fae4c69172564d349 (patch)
treec285487e669b624fa215f7dd0f76633611e6d70c /doc
parenta23e8be6fec9510be6fbba6b3c3201e88e9785d2 (diff)
Fix J translation of monadic ⍒ (closes #78)
Diffstat (limited to 'doc')
-rw-r--r--doc/fromJ.md2
1 files changed, 1 insertions, 1 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.