aboutsummaryrefslogtreecommitdiff
path: root/implementation/vm.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-28 19:38:20 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-28 19:38:20 -0400
commit36ee819ec6221d3ea94396772be57af2e6376118 (patch)
tree53cf3118fc9b4d6a54b3b12080776d21c36fb662 /implementation/vm.md
parente6e591951b5d60df1aaa9337c46ec60e113b5572 (diff)
Update VM docs for GroupLen
Diffstat (limited to 'implementation/vm.md')
-rw-r--r--implementation/vm.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/implementation/vm.md b/implementation/vm.md
index 502669b8..3229eae3 100644
--- a/implementation/vm.md
+++ b/implementation/vm.md
@@ -125,8 +125,8 @@ The contents of a core runtime are given below. The names given are those used i
| 0 | `Type` | `β€’Type`
| 1 | `Fill` | Get or set the fill value for array `𝕩`
| 2 | `Log` | `⋆⁼` (natural or base-`𝕨` logarithm) for atomic arguments
-| 3 | `GroupLen` | `β‰ Β¨βŠ”π•©` for a valid list `𝕩`
-| 4 | `GroupOrd` | `βˆΎβŠ”π•©` provided `𝕨` is `GroupLen 𝕩`
+| 3 | `GroupLen` | `β‰ Β¨βŠ”π•©` for a valid list `𝕩`, with minimum length `𝕨`
+| 4 | `GroupOrd` | `βˆΎβŠ”π•©` provided `𝕨` is `l GroupLen 𝕩` (any `l`)
| 5 | `!` |
| 6 | `+` | On two atoms
| 7 | `-` | On one or two atoms
@@ -159,7 +159,7 @@ GroupLen and GroupOrd, short for Group length and Group order, are used to imple
l ← Β―1 ⌈´ 𝕩
r ← (l+1) β₯Š 0
{ (π•©βŠ‘r) +↩ 1 }⍟(0βŠΈβ‰€)Β¨ 𝕩
- r
+ (π•¨βŒˆβ‰ r) ↑ r
}
GroupOrd ← {