Skip to content
Snippets Groups Projects
Commit e8839702 authored by Jens Nolte's avatar Jens Nolte
Browse files

Enable BlockArguments and ViewPatterns; update GHC options


Co-authored-by: default avatarJan Beinke <git@janbeinke.com>
parent f0e8172e
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ common shared-properties ...@@ -21,6 +21,7 @@ common shared-properties
default-extensions: default-extensions:
AllowAmbiguousTypes AllowAmbiguousTypes
BangPatterns BangPatterns
BlockArguments
DataKinds DataKinds
DefaultSignatures DefaultSignatures
DeriveAnyClass DeriveAnyClass
...@@ -46,6 +47,7 @@ common shared-properties ...@@ -46,6 +47,7 @@ common shared-properties
TupleSections TupleSections
TypeFamilies TypeFamilies
TypeOperators TypeOperators
ViewPatterns
-- Required for the record-dot-preprocessor plugin -- Required for the record-dot-preprocessor plugin
DuplicateRecordFields DuplicateRecordFields
TypeApplications TypeApplications
...@@ -72,11 +74,21 @@ common shared-properties ...@@ -72,11 +74,21 @@ common shared-properties
record-dot-preprocessor, record-dot-preprocessor,
record-hasfield, record-hasfield,
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -fwarn-unused-do-bind -fwarn-tabs -Wall -Wincomplete-uni-patterns -Wpartial-fields -fplugin=RecordDotPreprocessor ghc-options:
-fplugin=RecordDotPreprocessor
-Weverything
-Wno-all-missed-specialisations
-Wno-missing-safe-haskell-mode
-Wno-missing-import-lists
-Wno-unsafe
-Werror=incomplete-patterns
-Werror=missing-methods
common shared-executable-properties common shared-executable-properties
import: shared-properties import: shared-properties
ghc-options: -fwarn-unused-do-bind -fwarn-tabs -Wall -Wincomplete-uni-patterns -Wpartial-fields -threaded -rtsopts "-with-rtsopts=-N -I0" ghc-options:
-threaded
-rtsopts "-with-rtsopts=-N -I0"
library library
import: shared-properties import: shared-properties
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment