17 May
                
                    2007
                
            
            
                17 May
                
                '07
                
            
            
            
        
    
                9:58 a.m.
            
        On Thu, May 17, 2007 at 02:41:33PM +0100, Eric wrote:
Does anyone know of a simple and straightforward way to use global variables in Haskell?
Just declare them at the top level, as a function but without arguments: ======================================================================= x = 2 main = print x ======================================================================= Stefan