Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> writes: > This suggests that making global parameters available only as > arguments of main would be a bad idea. But they should be settable, > to account for the rare case of wanting to substitute something else > to a library which reads them itself.
Isn't it common for e.g. GUI frameworks to process argv[], interpreting and removing the arguments they use. So I'm not sure it is such a 'rare case'. (I guess you could do it differently in Haskell, e.g. have the library init return the list of updated args) -kzm -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
