iex
06/10/2020, 5:53 PMPair<T, T>
(or tuple in general), whose elements are case classes? (I need to pattern match the subtypes of the sealed class)Shawn
06/10/2020, 5:55 PMcase class
you mean sealed classes and overall you mean you want the compiler to be able to check potentially complex when statements that contained sealed types to make sure they’re exhaustive, then no, I don’t think soiex
06/10/2020, 5:57 PM