Add ViewPatterns to default-extensions

Seems relatively harmless
This commit is contained in:
Griffin Smith 2020-05-11 22:47:50 -04:00
parent 296f73a4d6
commit ecd33e0c90
13 changed files with 1 additions and 12 deletions

View file

@ -94,6 +94,7 @@ default-extensions:
- TypeApplications - TypeApplications
- TypeFamilies - TypeFamilies
- TypeOperators - TypeOperators
- ViewPatterns
ghc-options: ghc-options:
- -Wall - -Wall

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Xanthous.Command where module Xanthous.Command where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,6 +1,5 @@
{-# LANGUAGE PartialTypeSignatures #-} {-# LANGUAGE PartialTypeSignatures #-}
{-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE RoleAnnotations #-} {-# LANGUAGE RoleAnnotations #-}
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE DeriveTraversable #-} {-# LANGUAGE DeriveTraversable #-}

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE DeriveTraversable #-} {-# LANGUAGE DeriveTraversable #-}

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Xanthous.Data.EntityMap.Graphics module Xanthous.Data.EntityMap.Graphics
( visiblePositions ( visiblePositions

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TemplateHaskell #-}
module Xanthous.Entities.Character module Xanthous.Entities.Character
( Character(..) ( Character(..)

View file

@ -1,5 +1,4 @@
{-# LANGUAGE MultiWayIf #-} {-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TemplateHaskell #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TemplateHaskell #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Xanthous.Generators.Dungeon module Xanthous.Generators.Dungeon

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Xanthous.Generators.LevelContents module Xanthous.Generators.LevelContents
( chooseCharacterPosition ( chooseCharacterPosition

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE QuantifiedConstraints #-} {-# LANGUAGE QuantifiedConstraints #-}
{-# LANGUAGE AllowAmbiguousTypes #-} {-# LANGUAGE AllowAmbiguousTypes #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,6 +1,5 @@
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE PackageImports #-} {-# LANGUAGE PackageImports #-}

View file

@ -1,4 +1,3 @@
{-# LANGUAGE ViewPatterns #-}
module Xanthous.Util.Inflection module Xanthous.Util.Inflection
( toSentence ( toSentence