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

Expr.Types: add & use NPos & NSourcePos #1038

Merged

Conversation

Anton-Latukha
Copy link
Collaborator

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.

These are to abstract over Megaparsec types which for `(<>)` use `+` but do not
provide monoid. Also abstracting over these types allows to implement new
positioning tht would work faster then current types.
`coerce` has problems coercing it in 8.10, so helping with it.
@Anton-Latukha Anton-Latukha changed the title Expr.Types: add NPos & NSourcePos Expr.Types: add & use NPos & NSourcePos Jan 21, 2022
@Anton-Latukha Anton-Latukha marked this pull request as ready for review January 21, 2022 15:33
@Anton-Latukha Anton-Latukha merged commit eb3b127 into haskell-nix:master Jan 21, 2022
@Anton-Latukha Anton-Latukha deleted the 2022-01-21-upd-to-NSourcePos branch January 21, 2022 15:34
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

Successfully merging this pull request may close these issues.

1 participant