Global variables

Juan Ignacio García García jigg@ugr.es
Thu, 29 Nov 2001 14:31:19 +0100


Hello,

I am interested in using global variables (in GHC). 
I need a variable to store list of Integers to store temporary results.
I have been reading the module MVar, but I wonder if there is an
alternative way of doing it.
I have already implemented my function using an auxiliar argument where
I put my lists of Integers. 
Will the use of a global variable improve my function?

Thanks in advance,

J. Ignacio