>From a type-safety point of view, I think such a conversion should not be the 
>default, while `string`, `seq[byte]`, `seq[uint8]` and `Taintedstring` are all 
>equivalent at a low-level, they should represented completely different 
>semantics.

Implicit conversion should be left at the library developer/end-user 
discretion, just like Nim doesn't automatically convert integer to bool and 
allow `if 0:`.

As shown by @SolitudeSF example and the 
[lenientops](https://nim-lang.org/docs/lenientops.html) module, it's easy to 
get relaxed semantics for a specific library or domain that requires them.

Reply via email to