yav / pretty-show

Tools for working with derived Show instances in Haskell.
MIT License
57 stars 15 forks source link

Support for quasi-quotes #42

Closed jacobstanley closed 4 years ago

jacobstanley commented 4 years ago

This depends on https://github.com/yav/haskell-lexer/pull/7

I assume it won't build prior to that making it to Hackage.

I called the constructor Quote as I assume it would be also be used for the other kinds of quotes if those were added.

There is something a bit unsatisfying about it being Quote String instead of Quote Name String, I think we'd need to come up with a more clever lexer to fix that.