The parts I understand I have managed to code ok, its a bit long to be honest but I understand what and why Ive done it like that. The eval part I finally understood but I couldnt write up a...
Type: Posts; User: razgriz21; Keyword(s):
The parts I understand I have managed to code ok, its a bit long to be honest but I understand what and why Ive done it like that. The eval part I finally understood but I couldnt write up a...
Just like to say thanks for all the help guys, the explanations and advice was really good and its helped me understand it more, I couldnt do some parts as they looked too much like yours, so hence I...
Sorry for not replying, been pretty hectic this week. Ignore my last post too, got confused on something.
Ok I think I am done for my simplify and toString operations (:confused: !!!), and I am...
Ah ok, I currently have:
simplify (Plus (Var a) (Const 0)) = Var a
simplify (Plus (Var a) (Const 1)) = Var a
simplify (Plus (Const 0) (Var b)) = Var b
simplify (Plus (Const 1) (Var b)) = Var b...
Hey Twey you have a been a big help, thanks for explaining all that to me, makes a bit more sense now.
Just wondered what this does:
simplify (Plus x (Const 0)) = simplify x works
As I have...
Oh crap really???
To be honest I am completely stuck :confused:, I understand that I need to simplify expressions etc, just not to sure how to go about it. I have posted the question on hpaste,...
Its called City University in London, sounds like scarface might go to the same one as me lol. What was the Russian asking Twey? I find Haskell fun once I know what am I am doing, although I dont...
That might of been me, is that the haskell chat on mibbit? Im finding this really confusing scarface lol, you seem to have got the jist of it though, im still a newb lol :eek:
Looks like you know what your doing scarface, been reading the thread as I think your doing what I am doing lol.