« Return to Thread: foild function for expressions

Re: foild function for expressions

by Carlo Vivari :: Rate this Message:

Reply to Author | View in Thread

Yes,as  I said before to other of you
the exp data type was also declared in the exercise (my fault not to say it), and look as this:

data Exp = LitI Int
               |LitB Bool
               |Add Exp Exp
               |And Exp Exp
               |If Exp Exp Exp

 « Return to Thread: foild function for expressions