Have you tried the one in optionsutils? 
<https://github.com/PMunch/nim-optionsutils/blob/master/src/optionsutils.nim#L141-L190>.
 It works on options and not "nullity" but you should be able to adapt it 
fairly easily.

Reply via email to