aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-24 14:08:54 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-24 14:08:54 -0400
commitb2806d7af02e46069c5604baab70592f3e6096bc (patch)
tree5d4adcb13e1168ae6ee0c5d0e695c7705bdc1c6b /doc
parent9bccc26a0c3231d7cc9adc37c1a850ef44fd436a (diff)
Support table column alignment in md.bqn
Diffstat (limited to 'doc')
-rw-r--r--doc/fromDyalog.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/fromDyalog.md b/doc/fromDyalog.md
index 1818a094..42a2ffc7 100644
--- a/doc/fromDyalog.md
+++ b/doc/fromDyalog.md
@@ -37,19 +37,19 @@ Dyalog uses value types (array, function, and so on) to determine syntax while B
Here are some closest equivalents in Dyalog APL for the BQN functions that don't use the same glyphs as APL. Correspondence can be approximate, and `⌽` is just used as a decorator to mean "reverse some things".
| BQN | `⋆` | `√` | `∧` | `∨` | `¬` | `≠` | `<` | `>` | `≢` | `⥊` | `∾` | `≍` |
-|-------|-----|----------|-------|-------|-------|-----|-----|-----|-----|-----|-------|--------|
+|:-----:|:---:|:--------:|:-----:|:-----:|:-----:|:---:|:---:|:---:|:---:|:---:|:-----:|:------:|
| Monad | `*` | `*∘(÷2)` | `[⍋]` | `[⍒]` | `~` | `≢` | `⊂` | `↑` | `⍴` | `,` | `⊃,⌿` | `↑,⍥⊂` |
| Dyad | `*` | `*∘÷⍨` | `∧` | `∨` | `1+-` | `≠` | `<` | `>` | `≢` | `⍴` | `⍪` | `↑,⍥⊂` |
| BQN | `↑` | `↓` | `↕` | `/` | `⍋` | `⍒` | `⊏` | `⊑` | `⊐` | `⊒` | `∊` | `⍷` | `⊔` |
-|-------|------|---------|------|-----|-----|-------|------|-----|-----|-----|-----|-----|------------|
+|:-----:|:----:|:-------:|:----:|:---:|:---:|:-----:|:----:|:---:|:---:|:---:|:---:|:---:|:----------:|
| Monad | `,⍀` | `⌽,⌽⍀⌽` | `⍳` | `⍸` | `⍋` | `⍒` | `⊣⌿` | `⊃` | | `…` | `≠` | `∪` | `⌸` |
| Dyad | `↑` | `↓` | `,⌿` | `⌿` | `⍸` | `⌽⍸⌽` | `⌷` | `⊃` | `⍳` | `…` | `∊` | `⍷` | `⌸` or `⊆` |
Modifiers are a little harder. Many have equivalents in some cases, but Dyalog sometimes chooses different functionality based on whether the operand is an array. In BQN an array is always treated as a constant function.
| BQN | `¨` | `⌜` | `˝` | `⎉` | `⍟` | `˜` | `∘` | `○` | `⟜` |
-|--------|-----|------|-----|-----|-----|-----|-----|-----|-----|
+|:------:|:---:|:----:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| Dyalog | `¨` | `∘.` | `⌿` | `⍤` | `⍣` | `⍨` | `⍤` | `⍥` | `∘` |
In BQN `⎉` is Rank and `∘` is Atop. Dyalog's Atop (`⍤`) and Over (`⍥`) were added in version 18.0.