Created
April 4, 2020 01:16
-
-
Save evanrelf/7a2e52ed6ae8d571beb4c3f23ee5275b to your computer and use it in GitHub Desktop.
How to try `RecordDotSyntax` with Neil Mitchell's preprocessor/plugin https://github.com/ndmitchell/record-dot-preprocessor
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
common record-dot-syntax-preprocessor | |
build-depends: record-dot-preprocessor, record-hasfield | |
ghc-options: -F -pgmF=record-dot-preprocessor | |
common record-dot-syntax-plugin | |
build-depends: record-dot-preprocessor, record-hasfield | |
default-extensions: | |
DataKinds | |
DuplicateRecordFields | |
FlexibleContexts | |
FlexibleInstances | |
MultiParamTypeClasses | |
TypeApplications | |
TypeSynonymInstances | |
ghc-options: -fplugin=RecordDotPreprocessor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment