Maybe a silly question, but why didn't you use the Option type from the stdlib? 
[https://nim-lang.org/docs/options.html](https://nim-lang.org/docs/options.html)

Reply via email to