mirror of
https://github.com/joshuaclayton/unused.git
synced 2024-09-11 04:45:28 +03:00
Configure default extensions (namely, OverloadedStrings)
This commit is contained in:
parent
eddea2d65e
commit
9300a1bc60
@ -1,5 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
|
|
||||||
module Unused.Aliases
|
module Unused.Aliases
|
||||||
( groupedTermsAndAliases
|
( groupedTermsAndAliases
|
||||||
, termsAndAliases
|
, termsAndAliases
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
|
|
||||||
module Unused.GitContext
|
module Unused.GitContext
|
||||||
( gitContextForResults
|
( gitContextForResults
|
||||||
) where
|
) where
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
|
|
||||||
module Unused.Projection where
|
module Unused.Projection where
|
||||||
|
|
||||||
import qualified Data.Bifunctor as BF
|
import qualified Data.Bifunctor as BF
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
{-# LANGUAGE FlexibleInstances #-}
|
{-# LANGUAGE FlexibleInstances #-}
|
||||||
|
|
||||||
module Unused.ResultsClassifier.Types
|
module Unused.ResultsClassifier.Types
|
||||||
@ -14,8 +13,8 @@ import qualified Control.Applicative as A
|
|||||||
import qualified Control.Monad as M
|
import qualified Control.Monad as M
|
||||||
import qualified Data.HashMap.Strict as HM
|
import qualified Data.HashMap.Strict as HM
|
||||||
import qualified Data.List as L
|
import qualified Data.List as L
|
||||||
import qualified Data.Text as T
|
|
||||||
import Data.Text (Text)
|
import Data.Text (Text)
|
||||||
|
import qualified Data.Text as T
|
||||||
import Data.Yaml (FromJSON(..), (.:), (.:?), (.!=))
|
import Data.Yaml (FromJSON(..), (.:), (.:?), (.!=))
|
||||||
import qualified Data.Yaml as Y
|
import qualified Data.Yaml as Y
|
||||||
import Unused.Projection
|
import Unused.Projection
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
|
|
||||||
module Unused.TagsSource
|
module Unused.TagsSource
|
||||||
( TagSearchOutcome(..)
|
( TagSearchOutcome(..)
|
||||||
, loadTagsFromFile
|
, loadTagsFromFile
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
|
|
||||||
module Unused.TermSearch.Internal
|
module Unused.TermSearch.Internal
|
||||||
( commandLineOptions
|
( commandLineOptions
|
||||||
, parseSearchResult
|
, parseSearchResult
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
|
|
||||||
module Unused.AliasesSpec where
|
module Unused.AliasesSpec where
|
||||||
|
|
||||||
import Data.Monoid ((<>))
|
import Data.Monoid ((<>))
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
|
||||||
|
|
||||||
module Unused.ProjectionSpec where
|
module Unused.ProjectionSpec where
|
||||||
|
|
||||||
import Data.Text (Text)
|
import Data.Text (Text)
|
||||||
|
@ -84,6 +84,7 @@ library
|
|||||||
, file-embed
|
, file-embed
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
default-extensions: OverloadedStrings
|
||||||
|
|
||||||
executable unused
|
executable unused
|
||||||
hs-source-dirs: app
|
hs-source-dirs: app
|
||||||
@ -117,6 +118,7 @@ test-suite unused-test
|
|||||||
, Unused.AliasesSpec
|
, Unused.AliasesSpec
|
||||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
default-extensions: OverloadedStrings
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
|
Loading…
Reference in New Issue
Block a user