Towers of Hanoi: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
m →‎{{header|Haskell}}: (matched names to label strings)
Hout (talk | contribs)
Line 1,696:
((justifyLeft 6 ' ' <$>) <$> transpose (hanoi 5 "left" "right" "mid"))
where
justifyLeft n c s = take n (s ++<> replicate n c)</lang>
{{Out}}
<pre>left -> right