sol / interpolate

String interpolation for Haskell done right!
MIT License
31 stars 5 forks source link

GHC Source Plugin #13

Open PkmX opened 5 years ago

PkmX commented 5 years ago

With source plugins in ghc >= 8.6, it is possible to replace all string literals with i quasi-quotations (proof of concept). Well, no one likes to write those [i|...|] anyway.

Do you have plans to add one, or maybe implement it entirely as a source plugin without going through TH?

sol commented 5 years ago

Hey, this looks nice! Yes, I think we definitely want to add something like this.