La seqüència de Thue-Morse correspon a una llista infinita que conté com a primer element el 0 i obté els següents elements concatenant el complement binari a l’element anterior.
0
01
0110
01101001
Escriviu una llista infinita seqtm :: [String] que implementi la seqüència descrita.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.