Closed pcarbonn closed 5 years ago
In popVariantF, the selected constructor is on Right, while in splitVariantF, they are in Left...
It would be more consistent to have them on the same side (but that would be a breaking change)...
Tests revealed a nasty bug in splitVariant[F]. It is fixed by 36be8af41947cbef196c038ae23a4cd62e837c28. I switched Left/Right results at the same time. Release 2.2 contains the fix.
In popVariantF, the selected constructor is on Right, while in splitVariantF, they are in Left...
It would be more consistent to have them on the same side (but that would be a breaking change)...