Towers of Hanoi: Difference between revisions
m
→Lazy Solution: Indentation
m (→Lazy Solution: Indentation) |
|||
Line 854:
(when (pos? n)
(lazy-cat (towers-of-hanoi (dec n) from via to)
(cons [from '-> to]
(towers-of-hanoi (dec n) via to from)))))</lang>
=={{header|COBOL}}==
|