
prad wrote:
On Tue, 17 Aug 2010 13:34:01 -0700 Michael Mossey
wrote: It looks to me like you need to work through a book like "Real World Haskell" sequentially from the beginning.
what i find interesting is that you say what i'm trying to do here is complicated, because it seemed to me it was one of the simpler things that i actually understood. now i think i'm in trouble, because evidently i haven't understood it too well. :D
It may be simple to do once you understand, but your past several questions relate to - purity - do-notation as syntactic sugar for monadic computations - the IO monad If you understood these things you would not be running into this trouble, or you would quickly see the problem yourself. Because most books and tutorials introduce these things gradually, giving you lots of practice problems /at the level they are introduced/, I think your learning process would go more smoothly if you - pick a single book. don't try to digest all these different tutorials and books at once - read it sequentially - work the problems. if you want to branch into your own problem, stay close to the examples you've seen so far Best wishes, Mike