A useful technique: partial defunctionalization

This is a neat extension to the problem, but it suffers from one issue, which is that it isn’t very composable: there needs to be one master type that provides a full type. With all the options. However I suppose one could nest/wrap these. So Force.Extra could also provide a defunctionalized type that accepts a type variable and so on…

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.