What you want seems to be to define a $ proc for type int and call system.`$` 
from inside that proc.
    
    
    proc `$` (x: int):string = "Integer " & (system.`$`(x))
    
    echo 5
    
    
    
    $ ./t
    Integer 5
    
    

I was not sure that echo() would call our new proc, but seems it does 

Reply via email to