[Haskell] Why is getArgs in the IO monad?

Abraham Egnor abe.egnor at gmail.com
Mon Jan 17 16:30:44 EST 2005


It's not a constant; see, for example, System.Environment.withArgs
(http://www.haskell.org/ghc/docs/latest/html/libraries/base/System.Environment.html#v%3AwithArgs).

Abe


On Mon, 17 Jan 2005 16:23:17 -0500, Jim Apple <japple at freeshell.org> wrote:
> See subject. It seems that it would be constant through execution, and
> so could be just [String].
> 
> Jim
> 
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>


More information about the Haskell mailing list