 
            
            
            
            
                19 May
                
                    2011
                
            
            
                19 May
                
                '11
                
            
            
            
        
    
                12:22 p.m.
            
        On Thu, May 19, 2011 at 11:03, michael rice 
type GeneratorState = (Map Prefix [String],Prefix,[String])
buildMap :: GeneratorState (Map Prefix [String])
You are trying to use a type alias (GeneratorState) as a type constructor. There may be other problems, but that leaps out.