[Haskell] Re: Why is getArgs in the IO monad?
Ketil Malde
ketil+haskell at ii.uib.no
Tue Jan 18 04:57:15 EST 2005
Ben Rudiak-Gould <Benjamin.Rudiak-Gould at cl.cam.ac.uk> writes:
> How is this different from any other environmental change, such as a change
> in the program arguments?
Isn't this really the old (or fairly recent) discussion of "top level
things with identity"? Should one be able to do something like
args :: [String]
args <- getArgs
at the top level?
-kzm
--
If I haven't seen further, it is by standing in the footprints of giants
More information about the Haskell
mailing list