[Haskell-beginners] search a tree

John Moore john.moore54 at gmail.com
Thu Feb 25 15:46:35 EST 2010

Hi All,
          I have an expression which contains several different let
statements let x = 4*5 and let Y = 6+4 for example. What I want to do is
traverse the tree and just return the variables. In other words I just want
it to return a list of all the variables in a tree. I have a function for
Var String.
So would it be something like
given a String -> [String] or is this expression ->String (gives back a
Whats the best way to check or compare?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100225/d26ce1a6/attachment.html

More information about the Beginners mailing list