Closed dakom closed 7 years ago
Consider this example:
S.chain(S.Left, S.Just("x"));
This is illegal due to the mismatched types, but Sanctuary returns a Left("x") instead of throwing an error
Left("x")
This used to work. I believe #152 introduced the regression.
Consider this example:
This is illegal due to the mismatched types, but Sanctuary returns a
Left("x")
instead of throwing an error