Global variables in Haskell - HUGHES, JOHN (Journal of Functional Programming)