3 Aug
                
                    2008
                
            
            
                3 Aug
                
                '08
                
            
            
            
        
    
                11:31 a.m.
            
        Daniel Fischer 
Which implementation are you using? IIRC, GHC didn't have it in Control.Monad before the 6.8 branch.
Duncan Coutts 
It's not in the Prelude but it is in Control.Monad in base version 3 and later. You're probably using an older GHC which has base version 2.x.
Thanks for the quick responses. Looks like I need to install a version later than 6.8. Roly