see also <https://github.com/nim-lang/Nim/issues/16706> which has a snippet 
reduced from, IIUC, your use case in original post

Reply via email to