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

Dhall quasi-quoter #2198

Merged
merged 4 commits into from
May 26, 2021
Merged

Dhall quasi-quoter #2198

merged 4 commits into from
May 26, 2021

Conversation

mmhat
Copy link
Collaborator

@mmhat mmhat commented May 26, 2021

This PR adds a simple quasi-quoter name dhall to Dhall.TH.
It can be used to insert Dhall expressions in Haskell expression contexts at compile time.
It is based on the staticDhallExpression function residing in the same module.

Fixes #869

@mmhat mmhat changed the title Fixes #869: Dhall quasi-quoter Dhall quasi-quoter May 26, 2021
Copy link
Collaborator

@Gabriella439 Gabriella439 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea! Just one minor suggestion

dhall/src/Dhall/TH.hs Outdated Show resolved Hide resolved
mmhat and others added 2 commits May 26, 2021 19:07
Co-authored-by: Gabriel Gonzalez <Gabriel439@gmail.com>
@mergify mergify bot merged commit 68da434 into dhall-lang:master May 26, 2021
@mmhat mmhat deleted the 869-dhall-qq branch October 25, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dhall quasiquoter?
2 participants