codex-storage / questionable

Elegant optional types for Nim
Other
116 stars 5 forks source link

Reference types are handled by `without` statement with error #56

Closed markspanbroek closed 8 months ago

markspanbroek commented 8 months ago

Support for reference types (ref | ptr | proc | iterator) was added in #50.

This PR allows the use of reference types in expressions like this: without value =? reference, error