scope of header files
Jason Dusek
jason.dusek at gmail.com
Sat Mar 15 15:08:31 EDT 2008
Bulat Ziganshin <bulat.ziganshin at gmail.com> wrote:
> Saturday, March 15, 2008, 9:55:38 PM, you wrote:
> > > ...the Ptr type doesn't indicate const-ness (perhaps it
> > > should).
> >
> > If it did, could we read constant strings without
> > unsafePerformIO?
>
> probably no; at least for getArgs it was argued that it should
> have IO return type because its result is different from run
> to run
What does getArgs have to do with it?
I'm assuming that reading n elements from a const array will
always return the same elements -- is this an error?
--
_jsn
More information about the Glasgow-haskell-users
mailing list