Base on smaller elm codegen library?
- 主要语言
- Elm
- 星标
- 107
- 派生
- 28
- PR 合并指标
- 30 天内没有已合并 PR
描述
I've thrown together a library that just generates Elm types from Haskell ones:
https://github.com/mitchellwrosen/elm-codegen
Would you be interested in basing this library atop that one? If so, I can throw it up on Hackage and am willing to maintain it.
The main benefit here is separation of concerns (and maintenance) - after just extracting an Elm type from a Haskell one, there's more to do of course... how the Elm type should look (e.g. optionally turning records into type aliases or messing with record field names), pretty-printing, JSON encoder/decoder generation, etc.
Also, fwiw, my template haskell code does handle the "phantom type variable" case just fine, which I noticed is still an open ticket here.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。