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

Generation of Code Based on Type #19

Open
SamuelSchlesinger opened this issue Feb 5, 2017 · 2 comments
Open

Generation of Code Based on Type #19

SamuelSchlesinger opened this issue Feb 5, 2017 · 2 comments

Comments

@SamuelSchlesinger
Copy link
Contributor

I think we should make use of this module in ghc-mod and do some generation of code based on a type: https://hackage.haskell.org/package/ghc-mod-5.7.0.0/docs/Language-Haskell-GhcMod-FillSig.html. This is a really valuable tool if you structure your types right.

@NickSeagull
Copy link
Member

Would be really cool, this utility does the same thing, we could check it out 😄
https://hackage.haskell.org/package/djinn

@NickSeagull NickSeagull added this to Backlog in HaskellDO Feb 5, 2017
@SamuelSchlesinger
Copy link
Contributor Author

I checked it out and it seems to have the problem that it doesn't allow for recursive types. I get this from a completeness perspective (exhaustive checking for existence of a term of that type) but it's silly from a practical perspective, as the real question you want to ask is "is there a term that can fit in my computer?"

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

No branches or pull requests

2 participants