what I meant by lenientops is that it's better to have strong default in 
system.nim and that extra libraries like lenientops would be better to 
introduce unsafe auto-conversion between types.

To be clear, lenientops only does conversions for numerical operators at the 
moment. The safe conversion would be a `for loop` on the result and `source`:
    
    
    for i in src.len:
      result[i] = uint8(src[i])
    
    
    Run

Otherwise anything else relies on the implicit representation being the same 
either at container+data level (casting the string to seq[uint8]) or at data 
level (using `copyMem`).

Reply via email to