Global variables in pure functional languages

Viewed 3891

Does a pure functional language loses its purity if global variables are allowed? I mean does having global variables affect the referential transparency of the language?

I suppose not, because of value semantics but I'm not sure and would like to know what other people think.

2 Answers
Related