repr is brilliant, but woe betide the poor devil who uses it on a Table

maybe something like 
    
    
    template pp(t:typed):string =
      when compiles($x):
        $x
      elif compiles($x[]):
        if x.isNil: "nil" else: $x[]
      else:
        x.repr
    
    
    Run

until i find out where that breaks

Reply via email to