
On Tue, 17 Aug 2010 13:34:01 -0700
Michael Mossey
It looks to me like you need to work through a book like "Real World Haskell" sequentially from the beginning.
well i'm doing that too, michael. (i remember you made this suggestion to me several weeks ago and i have worked my way through a few chapters in rw and most of the haskell wiki tutorial). i've joined the reading group on the agora forum for rwhaskell. i'm also going through the video lectures here: http://www.cs.nott.ac.uk/~gmh/book.html 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 seemed to me that in one situation i was trying to get data from a function gt which just returns a string: gt :: String -> String in the other situation, i wanted to get the same data from a file, but can't seem to because the file is returning an IO instead of a String (in fact it is expecting [String]). however, i know you are right. i really need to get a better understanding of the basics, so i'll focus on that for the next few days and see if i can understand these problems i'm having better than i presently do. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's