Potential new boot libraries: template-haskell-lift and template-haskell-quasiquoter

5 views
Skip to first unread message

Teo Camarasu

unread,
Apr 17, 2025, 10:45:03 AMApr 17
to haskell-core-libraries
Hi folks,

I'm currently working towards creating some new boot libraries for GHC that expose a more stable interface to the TemplateHaskell feature set. I have a draft MR here: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13569 . In short, these libraries will expose the Lift and Quasiquoter interfaces from template-haskell.

My intention is to submit a GHC proposal soon, which should have some more information about the context and design decisions involved. I will also be opening PRs against core libraries to use these new stable interfaces. My aim is to greatly decrease the effort required by core libraries to keep up-to-date with template-haskell. I will also make a proposal to make these new libraries core libraries, and I imagine they would behave similarly to template-haskell or other GHC managed libraries.

At this stage, I just wanted to let you all know about this. I'll be asking for more feedback once the GHC proposal is published, but feel free to let me know your thoughts now too.

Cheers,
Teo

Julian Ospald

unread,
Apr 17, 2025, 10:48:24 AMApr 17
to haskell-cor...@googlegroups.com
Terrific!

Who are the authors of these libraries? Just you? CLC needs explicit
permission from the authors to accept them into the core libraries set.

Then we can just issue a vote. Whether they are boot libraries or not
doesn't actually matter.

On 4/17/25 10:44 PM, Teo Camarasu wrote:
> Hi folks,
>
> I'm currently working towards creating some new boot libraries for GHC
> that expose a more stable interface to the TemplateHaskell feature set.
> I have a draft MR here: https://gitlab.haskell.org/ghc/ghc/-/
> merge_requests/13569 <https://gitlab.haskell.org/ghc/ghc/-/
> merge_requests/13569> . In short, these libraries will expose the Lift
> and Quasiquoter interfaces from template-haskell.
>
> My intention is to submit a GHC proposal soon, which should have some
> more information about the context and design decisions involved. I will
> also be opening PRs against core libraries to use these new stable
> interfaces. My aim is to greatly decrease the effort required by core
> libraries to keep up-to-date with template-haskell. I will also make a
> proposal to make these new libraries core libraries, and I imagine they
> would behave similarly to template-haskell or other GHC managed libraries.
>
> At this stage, I just wanted to let you all know about this. I'll be
> asking for more feedback once the GHC proposal is published, but feel
> free to let me know your thoughts now too.
>
> Cheers,
> Teo
>
> --
> You received this message because you are subscribed to the Google
> Groups "haskell-core-libraries" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to haskell-core-libr...@googlegroups.com
> <mailto:haskell-core-libr...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/haskell-
> core-libraries/
> CAPBO51HRAN4KYboKmNo8OnysF1pjFtRPjNWDqjj8yEAihOCyXA%40mail.gmail.com
> <https://groups.google.com/d/msgid/haskell-core-libraries/
> CAPBO51HRAN4KYboKmNo8OnysF1pjFtRPjNWDqjj8yEAihOCyXA%40mail.gmail.com?
> utm_medium=email&utm_source=footer>.

Teo Camarasu

unread,
Apr 17, 2025, 10:59:07 AMApr 17
to Julian Ospald, haskell-cor...@googlegroups.com
I'll likely be the only author. Cool, I'll open a proposal once the names/interfaces of the libraries are finalized.

To unsubscribe from this group and stop receiving emails from it, send an email to haskell-core-libr...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/haskell-core-libraries/8d535436-f304-4466-8005-cba66ac86d0e%40posteo.de.
Reply all
Reply to author
Forward
0 new messages