This works on the latest Nim release (should work on 1.0.2 too): 
[https://play.nim-lang.org/#ix=26Zl](https://play.nim-lang.org/#ix=26Zl)

Reply via email to