Johannes Waldmann writes: : | > spaces 0 = "" | > spaces n = ' ' : spaces (n - 1) | | this should be replicate n ' ' or something | that behaves nicely for negative arguments. Like an n+k pattern? ;-)