Join Slack
Powered by
So, the `when` clause must only be exhaustive when...
# announcements
b
bloodshura
07/06/2017, 12:41 AM
So, the
when
clause must only be exhaustive when it's a single-expression function or assignment?
g
groostav
07/06/2017, 1:15 AM
bloodshura: for the record this is my
favourite
language feature. Combine this with
sealed
classes, and you have a very powerful tool for fighting "forgot to update XYZ" bugs
2
Views
Open in Slack
Previous
Next