-
Notifications
You must be signed in to change notification settings - Fork 3
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
Traversal over streams is unergonomic #48
Comments
Really we want a way to generically traverse over Lenses are something else to look at. If we go this route we should probably prefer |
This came up again in linting for |
Came up again in |
For better linting output we need to retain source span information type Stream = [(Token, SourceSpan)] This makes for a relatively small A similar problem presents when flattening. It's a lossless procedure in which any source information should be thrown away as it's really no longer valid. This makes the idea of making our AST parameterised, recursion schemes or not, very tempting. In that scenario our tests can continue to target Edit: This describes what I want to do: https://www.reddit.com/r/haskell/comments/sxsj4m/what_are_strategies_for_tracking_type_checking/hxu2tsj/ |
Context: #39
Worth exploring ways to simplify and condense it.
The text was updated successfully, but these errors were encountered: