Interesting, I didn't see the 
[RFC](https://github.com/nim-lang/RFCs/issues/341) before. The `.?()` operator 
would indeed solve my problem.

By the way: I tried the workaround with the `()` operator, but I ran into the 
problem that I cannot differentiate between a function call `option.?foo()` or 
a field access `option.?foo`, and therefore do not know whether to return 
something that is callable with the `()` operator, or a simple field value.

Reply via email to