
14 Apr
2014
14 Apr
'14
2:37 p.m.
On 4/14/2014 10:47 AM, Brandon Allbery wrote:
But it is the *compiler's* problem. "Constant" means "known at compile time" to the compiler.
Pure means pure at run-time over the life of the executable. Just because the compiler doesn't know what it is (had it cared to evaluate it at compile time) doesn't mean it's not pure.
Although I wonder if you'd be happier with getArgs >>= mapM_ (do ...).
That's what I ended up with when I stopped fiddling with that particular line.