Is there a reason I'm not seeing why there isn't, say 
    
    
    proc `$`[T](x: ref T):string =
      if x.isNil:
        result = "nil"
      else:
        result = $x[]
    
    
    Run

in dollars.nim?

Some danger I'm missing? 

Reply via email to