unsplash/sum-types

Match multiple sums together

samhh opened this issue · 0 comments

samhh commented

The equivalent of matching tuples in Haskell:

case (x, y) of
  (A, B) -> etc
  otherwise -> etc

Potentially relevant/blocker: #15