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

Please, use new {Source,}Pos types #1026

Open
Anton-Latukha opened this issue Jan 12, 2022 · 0 comments
Open

Please, use new {Source,}Pos types #1026

Anton-Latukha opened this issue Jan 12, 2022 · 0 comments

Comments

@Anton-Latukha
Copy link
Collaborator

A continuation/aggregate of the:

Expr.Types has instance {Serialize, Hashable, Binary, ToJSON, FromJSON} {Source,}Pos orphan modules (10 instances), which not really can be uploadated to megaparsec.

The classical minimalistic solution is to create new type abstraction, which allows defining instances locally.

So it may be done in several stages, but we at once can thing about new design of the positioning.

Anton-Latukha added a commit to Anton-Latukha/hnix that referenced this issue Jan 21, 2022
Anton-Latukha added a commit that referenced this issue Jan 21, 2022
This is a type & type boundary lifting groundwork to do #1026 & #746 design in this release.

The `NPos` & `NSourcePos` next can be freely shaped into what comes out of the #1026 & #746.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant