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

Could it make sense to use TemplateHaskell? #14

Open
Wizek opened this issue Jan 10, 2018 · 0 comments
Open

Could it make sense to use TemplateHaskell? #14

Wizek opened this issue Jan 10, 2018 · 0 comments

Comments

@Wizek
Copy link

Wizek commented Jan 10, 2018

Example:

specify "" $ do
  [shouldNotTypecheck| False :: Char |]

This way we wouldn't have to rely on deferred type errors, but on TH instead. Perhaps this lib could provide both flavors.

Provided it is actually possible with TH to do the above. Would you, @CRogers, or someone else know?

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

No branches or pull requests

1 participant