You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Scala's Either does not have leftMap and leftFlatMap, it's hard to change the Left value. So having a different Error types for SemVer.parse and SemVer's minus operation can cause Error type aligning issue.
One solution might be adding a new Error type which can contain both ParseError and another Error for minus operation.
The text was updated successfully, but these errors were encountered:
Task
Summary
Add universal Error type for
SemVer
Project Details
Version:
unreleased
Description
Since Scala's
Either
does not haveleftMap
andleftFlatMap
, it's hard to change theLeft
value. So having a differentError
types forSemVer.parse
andSemVer
'sminus
operation can cause Error type aligning issue.One solution might be adding a new
Error
type which can contain bothParseError
and anotherError
forminus
operation.The text was updated successfully, but these errors were encountered: