One-dimensional cellular automata: Difference between revisions
m
→{{header|Haskell}}
m (→{{header|Haskell}}: Applied Ormolu, preferred putStrLn to print, updated output.) |
|||
Line 2,543:
init
. until
((==) . last <*>
((<>) <*>
$ [xs, nxt xs]
|