Re:Optional If Expressions
by yxhuvud on Saturday April 15, 2023 @01:21AM
(#35577828)
For what it's worth, this is essentially what Crystal does, though by introducing a union type instead of an optional.
[ Parent
| on HN ]
Re:Optional If Expressions
by valenterry on Saturday April 15, 2023 @02:11AM
(#35578067)
This is the way to go.