-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Make source positions a parser option? #49
Comments
One idea would be to add an Options data structure
|
We could use a reader monad transformer to make these available in block and inline parsers. |
I don't really care how they get there as long as the option is there! We're really looking forward to having a source maps available for |
The option is there already (as well as the ability to create a source map). This was just an idea about an alternative way to put it there. |
@alerque for a demo of the source map functionality, you can do |
Instead of handling it with typeclasses.
This would allow simpler typeclasses: Html, Pandoc.
It might also allow us to improve performance by avoiding the work of storing and computing ranges.
The text was updated successfully, but these errors were encountered: