#570: Native string interpolation syntax (round two)
Dear committee, In #570 <https://github.com/ghc-proposals/ghc-proposals/pull/570>, Brandon Chinn proposes adding native string interpolation syntax to GHC, along the lines of s"a ${x + 1} b", catching up with and even exceeding similar features in popular programming languages. I think this is an important proposal and I recommend that we accept it. Since the previous submission, Brandon settled on a coherent and simple interaction with -XOverloadedStrings. Although the proposed interpolation API seems more ad-hoc than necessary, I did not find a way to simplify it any further. Cheers, Sebastian
Sorry, this was caught in my spam. I support this proposal. I have made some drafting suggestions on GitHub. Committee members: the ball is in your court! RSVP Simon On Mon, 29 Jun 2026 at 12:41, Sebastian Graf <sgraf1337@gmail.com> wrote:
Dear committee,
In #570 <https://github.com/ghc-proposals/ghc-proposals/pull/570>, Brandon Chinn proposes adding native string interpolation syntax to GHC, along the lines of s"a ${x + 1} b", catching up with and even exceeding similar features in popular programming languages.
I think this is an important proposal and I recommend that we accept it.
Since the previous submission, Brandon settled on a coherent and simple interaction with -XOverloadedStrings. Although the proposed interpolation API seems more ad-hoc than necessary, I did not find a way to simplify it any further.
Cheers, Sebastian
_______________________________________________ ghc-steering-committee mailing list -- ghc-steering-committee@haskell.org To unsubscribe send an email to ghc-steering-committee-leave@haskell.org
I support the proposal. I wrote https://github.com/ghc-proposals/ghc-proposals/pull/570#issuecomment-4691830... before the proposal was officially submitted, but it still holds. Rodrigo
On 7 Jul 2026, at 11:44, Simon Peyton Jones <simon.peytonjones@gmail.com> wrote:
Sorry, this was caught in my spam.
I support this proposal. I have made some drafting suggestions on GitHub.
Committee members: the ball is in your court! RSVP
Simon
On Mon, 29 Jun 2026 at 12:41, Sebastian Graf <sgraf1337@gmail.com <mailto:sgraf1337@gmail.com>> wrote:
Dear committee,
In #570 <https://github.com/ghc-proposals/ghc-proposals/pull/570>, Brandon Chinn proposes adding native string interpolation syntax to GHC, along the lines of s"a ${x + 1} b", catching up with and even exceeding similar features in popular programming languages.
I think this is an important proposal and I recommend that we accept it.
Since the previous submission, Brandon settled on a coherent and simple interaction with -XOverloadedStrings. Although the proposed interpolation API seems more ad-hoc than necessary, I did not find a way to simplify it any further.
Cheers, Sebastian
_______________________________________________ ghc-steering-committee mailing list -- ghc-steering-committee@haskell.org <mailto:ghc-steering-committee@haskell.org> To unsubscribe send an email to ghc-steering-committee-leave@haskell.org <mailto:ghc-steering-committee-leave@haskell.org>
ghc-steering-committee mailing list -- ghc-steering-committee@haskell.org To unsubscribe send an email to ghc-steering-committee-leave@haskell.org
I too support this proposal. It addresses one of the few pain points that I regularly run into in Haskell. Cheers, Erik Simon Peyton Jones wrote:
Sorry, this was caught in my spam.
I support this proposal. I have made some drafting suggestions on GitHub.
Committee members: the ball is in your court! RSVP
Simon
On Mon, 29 Jun 2026 at 12:41, Sebastian Graf <sgraf1337@gmail.com> wrote:
Dear committee,
In #570 <https://github.com/ghc-proposals/ghc-proposals/pull/570>, Brandon Chinn proposes adding native string interpolation syntax to GHC, along the lines of s"a ${x + 1} b", catching up with and even exceeding similar features in popular programming languages.
I think this is an important proposal and I recommend that we accept it.
Since the previous submission, Brandon settled on a coherent and simple interaction with -XOverloadedStrings. Although the proposed interpolation API seems more ad-hoc than necessary, I did not find a way to simplify it any further.
Cheers, Sebastian
_______________________________________________ ghc-steering-committee mailing list -- ghc-steering-committee@haskell.org To unsubscribe send an email to ghc-steering-committee-leave@haskell.org
-- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
participants (4)
-
Erik de Castro Lopo -
Rodrigo Mesquita -
Sebastian Graf -
Simon Peyton Jones