Typeclasses in Nim is only used for generics, meaning that they're a 
compile-time constraint, not a runtime one. You'd need an object variant for 
this case.

Reply via email to