aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-08-16 09:56:53 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-08-16 09:56:53 -0400
commit7b26c3a970c8df20d780352b02d39fb46f0ae056 (patch)
treec421403e63fd1fcf1b58bd56c2e0b93110606753
parentc57b5a9d547eaf1c7701cb72579f2ef7df86fe62 (diff)
Shorter way to get GoL rotation amounts
-rw-r--r--docs/repl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/repl.js b/docs/repl.js
index 25eef499..c6dca499 100644
--- a/docs/repl.js
+++ b/docs/repl.js
@@ -170,7 +170,7 @@ if (doc.demo) doc.demo.onclick = () => {
,'{(+`𝕩<\'a\') ⊔ 𝕩} "camelCaseWord"'
,'3‿4‿2⌾(0‿0⊸⍉) 3‿3⥊¯1'
,'∾ (<˘ ≍¨¨ 1↓↓) "abcd"'
- ,'Life←{∨´1‿𝕩∧3‿4=+˝⥊⌽⟜𝕩¨∾⌜˜¯1‿0‿1}\nLife⍟(↕4) 6‿6↑(1⊸=∨5⊸≤)3‿3⥊↕9'
+ ,'Life←{∨´1‿𝕩∧3‿4=+˝⥊⌽⟜𝕩¨1-˜↕3‿3}\nLife⍟(↕4) 6‿6↑(1⊸=∨5⊸≤)3‿3⥊↕9'
,'⥊ 1‿0‿1 ∧⌜⍟3 1'
,'⌈˝ (≠ ↕ 0‿0⊸∾) 1‿2‿5‿4‿0‿2‿1'
];