openarray exists to create procs that accept both fixed sized array as well as 
variable sized seq. 
[toOpenArray](https://github.com/nim-lang/Nim/blob/v1.2.0/lib/system.nim#L2956) 
is compiler magic. I don't think you can do this with a custom type. 

Reply via email to