[Haskell-cafe] n00b question: defining datatype
Jake McArthur
jake.mcarthur at gmail.com
Thu Jul 23 14:58:19 EDT 2009
Actually, how about this?
import Data.Tree
newtype Task = Task (Tree (String, Bool))
Now you already have that tree structure you wanted.
- Jake
More information about the Haskell-Cafe
mailing list