Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template Haskell interface missing #18

Open
gergoerdi opened this issue Mar 11, 2020 · 3 comments
Open

Template Haskell interface missing #18

gergoerdi opened this issue Mar 11, 2020 · 3 comments

Comments

@gergoerdi
Copy link

According to https://hackage.haskell.org/package/microstache-1.0.1.1/docs/Text-Microstache.html:

Template Haskell helpers for compilation of templates at compile time are available in the Text.Microstache.Compile.TH module. The helpers are currently available only for GHC 8 users though.

However, there is no Text.Microstache.Compile.TH in the Hackage package or even on Git.

I'd like to compile my templates at compile-time, where is this fabled module?

@phadej
Copy link
Collaborator

phadej commented Mar 11, 2020

It's an unfortunate left-over of trimming stache to microstache. The paragraph should be removed.

@gergoerdi
Copy link
Author

gergoerdi commented Mar 12, 2020 via email

@phadej
Copy link
Collaborator

phadej commented Dec 15, 2020

I'm fine with re-enabling it, I guess my problem was with

At the moment, functions in this module only work with GHC 8 (they require at least template-haskell-2.11).

So it looks like it's not trivial "copy the code over" task, as I don't want to provide partial API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants