On Thu, Jul 23, 2009 at 8:43 PM, Iain Barnett<iainsp...@gmail.com> wrote: > data Task = Task { title :: String, completed :: Bool, subtasks :: [Task] } > But that's not really right, because obviously, some tasks don't have > subtasks.
The empty list is a list. --Max _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe