global variable

Artie Gold artiegold at
Sun Oct 12 17:47:43 EDT 2003

Jose Morais wrote:
> Sorry the newbie question and the insistence, but how exactly do I use
> map or fold applied to the infinite list to get successive integers at
> each time?
I think it would be best if you gave us a description of what you're
trying to accomplish. When programming in a pure language, it is
often necessary to turn one's thinking `inside out' from the approach
that would be used in a language with assignment.


Artie Gold -- Austin, Texas
Oh, for the good old days of regular old SPAM.

More information about the Haskell-Cafe mailing list