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 還沒有評估資料。