Ok.. Well.. Yeah your right. I guess its just so weird looking at it and its like .. ok? where do I go from here? We were only given a 3 hour class on it.
I guess I'm not looking for a straight answer, I just need a direction to go from here. I know that we recursively call hanoi from the first block and send it back through with n - 1 as we send one of the smaller rings from the first to the third tower. I know that much.. but as far as what to add to that is boggling my mind. Also, I have no idea what the function atomize is doing, or even why its there for that matter.
I'm thinking that in the first block of hanoi that I need to take atomize all of the lists but normally in other languages though, the recursive statement will be reached before we would be able to call it.. IE.. the area where there is missing code.
Main Topics
Browse All Topics





by: angelIIIPosted on 2008-03-25 at 09:33:05ID: 21203483
>I have been trying to understand Lisp for a few days now and I can definitely find better uses of my time in more productive languages.
learning Lisp is not necessarily about "to use it later in real-life", but "understanding how things work".
such courses are there to "format" your brain in a way to get you "thinking the true developer way".
I "had to go through" lisp also, and had not only the pleasure of doing hanoi, but also Dr Eliza with lisp.
although lisp will "waste" your time at syntax level with all those brackets, it's capabilities in pure methodology are, AFAIK, still unreached...