Y
Hacker News
new
|
ask
|
show
|
jobs
by
int_19h
2374 days ago
Given that we're talking about it in a pattern matching context, you'd just pattern match on x vs nil, rather than matching on Just x or None. And in case of Either, you'd match on the types that you expect.