Actually, how about this?

    import Data.Tree
    newtype Task = Task (Tree (String, Bool))

Now you already have that tree structure you wanted.

- Jake
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to