I like the idea. It would be nice if it was also specialized for ref not nil and ptr not nil where nil would map to none. Just like in Rust.
In fact, it would be cool if functional style was generally more common in Nim. Like standard library widely utilizing option where possible. Also: sequtils only work for seq, it would be nice to have similar functionalities for any iterable (as for now, there is a non-official package iterutils). Et cetera...
