diff --git a/guide.cabal b/guide.cabal index c2ccdf5..2ada9c2 100644 --- a/guide.cabal +++ b/guide.cabal @@ -95,3 +95,13 @@ executable guide -threaded "-with-rtsopts=-T -N" hs-source-dirs: src default-language: Haskell2010 + default-extensions: MultiWayIf + , ViewPatterns + , RecordWildCards + , TupleSections + , LambdaCase + , RankNTypes + , MultiParamTypeClasses + , FunctionalDependencies + , TemplateHaskell + diff --git a/src/Config.hs b/src/Config.hs index 6c87231..a0614d0 100644 --- a/src/Config.hs +++ b/src/Config.hs @@ -1,6 +1,5 @@ {-# LANGUAGE OverloadedStrings, -RecordWildCards, NoImplicitPrelude #-} diff --git a/src/Main.hs b/src/Main.hs index 77939ff..906594e 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -3,7 +3,6 @@ OverloadedStrings, ScopedTypeVariables, TypeFamilies, DataKinds, -MultiWayIf, FlexibleContexts, NoImplicitPrelude #-} diff --git a/src/Markdown.hs b/src/Markdown.hs index b58b080..841bc9f 100644 --- a/src/Markdown.hs +++ b/src/Markdown.hs @@ -1,8 +1,5 @@ {-# LANGUAGE OverloadedStrings, -TemplateHaskell, -MultiParamTypeClasses, -FunctionalDependencies, FlexibleInstances, FlexibleContexts, NoImplicitPrelude diff --git a/src/Types.hs b/src/Types.hs index e722a7b..6310419 100644 --- a/src/Types.hs +++ b/src/Types.hs @@ -1,14 +1,8 @@ {-# LANGUAGE -TemplateHaskell, -MultiParamTypeClasses, -FunctionalDependencies, FlexibleContexts, FlexibleInstances, -RecordWildCards, TypeFamilies, OverloadedStrings, -RankNTypes, -TupleSections, NoImplicitPrelude #-} diff --git a/src/Utils.hs b/src/Utils.hs index 4cbfab8..41cfe22 100644 --- a/src/Utils.hs +++ b/src/Utils.hs @@ -1,11 +1,9 @@ {-# LANGUAGE OverloadedStrings, -TemplateHaskell, GeneralizedNewtypeDeriving, FlexibleContexts, FlexibleInstances, TypeFamilies, -RecordWildCards, NoImplicitPrelude #-} diff --git a/src/View.hs b/src/View.hs index 7034e84..db3ed3f 100644 --- a/src/View.hs +++ b/src/View.hs @@ -2,9 +2,6 @@ QuasiQuotes, OverloadedStrings, FlexibleContexts, -ViewPatterns, -RecordWildCards, -TupleSections, NoImplicitPrelude #-}