 
            
            
            
            
                5 Dec
                
                    2000
                
            
            
                5 Dec
                
                '00
                
            
            
            
        
    
                4:54 p.m.
            
        Christian Lescher writes:
[...]
Let's say we restrict it to the types Int and Double. Is an automatic conversion at least in this case possible?
You could try wheeling out Haskell's Least Used Keyword: module Defs where default(Double, Int) n = 3 -- This is defaulted to Double x = 12.3 test = ceiling (x / n) Other than that, I only know an answer that starts with "Design and implement a language extension for ...", sorry.