⍝ "Game of Life" in APL
life←{
↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵
}
⍝ see blog.fogus.me/2011/08/14/per…
Aug 15, 2011 · 6:14 AM UTC
2
4
4
Aug 15, 2011 · 6:14 AM UTC