Y
Hacker News
new
|
ask
|
show
|
jobs
by
d66
1009 days ago
yes, that is the actual construction: the disjunction data type only supports a lhs and rhs, so that is the only possible way to represent it.
i wrote it the way i did for clarity in the comments.