Anonymous user
Thue-Morse: Difference between revisions
→{{header|zkl}}: comment
(→{{header|zkl}}: rewrite) |
(→{{header|zkl}}: comment) |
||
Line 71:
=={{header|zkl}}==
<lang zkl>fcn nextTM(str){ str.pump(str,'-.fp("10")) } // == fcn(c){ "10" - c }) }</lang>
"
<lang zkl>str:="0"; do(7){ str=nextTM(str.println()) }</lang>
println() returns the result it prints (as a string).
|