-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I am in the process of releasing a new tyre version that has breaking changes, and the opam CI warned me that this package was breaking.
THe CI is breaking because Tyre.t now has 2 parameters instead of one. Instead of a Tyre.t you can likely use (_, a) Tyre.t. The first parameter is just here to track whether the regexp is evaluable or not.
The other thing that is likely to break is uses of alt. alt used to be of type (_, 'a) t -> (_, 'b) t -> (_, ['Left of 'a | Right of 'b]) t.
Now it has type (_, 'a) t -> (_, 'a) t -> (non_evaluable, 'a) t. The intended replacement is val either: ('e, 'a) t -> ('e, 'b) t -> ('e, ('a, 'b) Either.t) t
Metadata
Metadata
Assignees
Labels
No labels