Final call for GHC String Interpolation proposal!

Proposal: Native string interpolation syntax by brandonchinn178 · Pull Request #570 · ghc-proposals/ghc-proposals · GitHub

Previous topic: Updates for String-related GHC proposals - #27 by brandonchinn178
HIW slides: GHC String Interpolation

After getting positive reception from my talk at HIW this week, and seeing as discussion has died down on the proposal, this will be the final call for review for the proposal, before I submit it to the committee. Thanks!

16 Likes

(post deleted by author)

1 Like

I strongly agree. I would say the solution to that is to use quasiquotes so that you can check the grammar at compile-time with a user-defined parser. What we do really need then for better tooling support is a standardized way to interpolate Haskell values into quasiquoters.

Just standardized syntax could be enough but it can be a bit annoying if people could break tooling by writing a non-conforming quasiquoter. So perhaps the standard should be enforced the compiler but that would require some more design work.