3 ms·
Both of these things respectively are just pattern matches and monads, just not user-definable ones.
by ux266478 11mo ago
Both of these things respectively are just pattern matches and monads, just not user-definable ones.
- xigoi 11mo agoOn 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