zlacker
[parent]
[thread]
1 comments
1. ux2664+(OP)
[view]
[source]
2025-12-05 15:30:32
Both of these things respectively are just pattern matches and monads, just not user-definable ones.
replies(1):
>>xigoi+o83
◧
2. xigoi+o83
[view]
[source]
2025-12-06 16:40:17
>>ux2664+(OP)
On the other hand, it’s more ergonomic and readable because you don’t need to declare a new name.
if name != nil: echo name
versus
case name of Some(unwrappedName): echo unwrappedName
[go to top]