[Haskell-cafe] creating tree with level subnodes and incrementing number?

Tomasz Zielonka tomasz.zielonka at gmail.com
Tue Aug 8 12:28:19 EDT 2006

On Tue, Aug 08, 2006 at 02:30:39PM +0200, Marc Weber wrote:
> Is there a better way to do this?

In this case it is quite easy to separate the task into two smaller
- creating the tree with a desired shape
- numbering the nodes in post-order

The first task is naturally expressed without monads.

Best regards

More information about the Haskell-Cafe mailing list