[Haskell] Re: Why is getArgs in the IO monad?
tomasz.zielonka at gmail.com
Tue Jan 18 03:03:40 EST 2005
On Tue, Jan 18, 2005 at 01:31:19AM -0500, Jim Apple wrote:
> Tomasz Zielonka wrote:
> >I like to think that pure functions don't change between executions.
> I'd like to think they wouldn't change within executions. Is there a
> pure haskell way to check the value of a function between exections?
Perhaps I was unclear. I want pure functions to give the same results every
time they are run for the same arguments, as long as the have the same
definition. This makes like easier. Also, some haskell libraries rely on that
- take WASH/CGI for example.
More information about the Haskell