is it possible to enforce at compile time surjectivity of a function to a sealed type (ignoring that some of the "case classes" may have properties or may be subclassed)?
k
karelpeeters
07/05/2018, 8:06 PM
I'm having trouble imagining a use case, care to share?