I just realized that this syntax seems to compile, even if it doesn't work:
    
    
    proc returnZero[T = float]() : T =
        return T(0)
    
    
    Run

Will this syntax work in the future? I think it is quite neat in its separation 
between types and values, opposed to the typedesc implementation.

Reply via email to