23 Mar
                
                    2008
                
            
            
                23 Mar
                
                '08
                
            
            
            
        
    
                5:24 p.m.
            
        So a number of people responded with various ways this is already possible. Of course GHC can already do this... it's type inference. The part I'm interested in working on is exposing the functionality in GHC's API to make this as easy as possible. -Abram