-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate Haskell datatype declarations from Dhall types (#1620)
* Generate Haskell datatype declarations from Dhall types Fixes #1616 This adds a new `Dhall.TH.makeHaskellType` utility which generates a Haskell datatype declaration corresponding to a Dhall type. This simplifies keeping Haskell and Dhall code in sync with one another. * Fix build for GHC 7.10.3 * Fix `nix-shell` for GHC 7.10.3 * Rename `makeHaskellType` to `makeHaskellTypeFromUnion` ... based on a suggestion from @sjakobi * Change `Smart` to be the default ... as suggested by @sjakobi
- Loading branch information
1 parent
15c1bfb
commit b028082
Showing
10 changed files
with
378 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Love this guide message.