-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
None of these have safety implications, but there are a number of coherence constraints ideal for Choose:
- We don't want types like
Choose<A, Choose<B, Finally<A>>>to be expressible. That is, there exists noChooser<A, B>such thatChooser<A, B>: Chooser<S>andB: Chooser<S>. - We should ensure that
Choose<P, Q>only allowsChooseandFinallyto exist asQ. - Finally should not exist outside of
Choose, if possible.
As a bonus, it may not be necessary to use Finally at all, but I am doubtful.
Metadata
Metadata
Assignees
Labels
No labels