Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add universal Error type for SemVer #38

Open
kevin-lee opened this issue Oct 22, 2019 · 0 comments
Open

Add universal Error type for SemVer #38

kevin-lee opened this issue Oct 22, 2019 · 0 comments
Assignees
Labels

Comments

@kevin-lee
Copy link
Owner

Task

Summary

Add universal Error type for SemVer

Project Details

Version: unreleased

Description

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.

@kevin-lee kevin-lee added the task label Oct 22, 2019
@kevin-lee kevin-lee added this to the milestone1 milestone Oct 22, 2019
@kevin-lee kevin-lee self-assigned this Oct 22, 2019
@kevin-lee kevin-lee modified the milestones: milestone1, milestone2 Oct 25, 2019
@kevin-lee kevin-lee removed this from the milestone2 milestone Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant