From ecd33e0c901b34d77ea77ad0f3b65125d85a4515 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 11 May 2020 22:47:50 -0400 Subject: Add ViewPatterns to default-extensions Seems relatively harmless --- src/Xanthous/App.hs | 1 - src/Xanthous/Command.hs | 1 - src/Xanthous/Data.hs | 1 - src/Xanthous/Data/EntityMap.hs | 1 - src/Xanthous/Data/EntityMap/Graphics.hs | 1 - src/Xanthous/Entities/Character.hs | 1 - src/Xanthous/Generators/CaveAutomata.hs | 1 - src/Xanthous/Generators/Dungeon.hs | 1 - src/Xanthous/Generators/LevelContents.hs | 1 - src/Xanthous/Generators/Util.hs | 1 - src/Xanthous/Orphans.hs | 1 - src/Xanthous/Util/Inflection.hs | 1 - 12 files changed, 12 deletions(-) (limited to 'src/Xanthous') diff --git a/src/Xanthous/App.hs b/src/Xanthous/App.hs index ea1405e463fe..f7013076d594 100644 --- a/src/Xanthous/App.hs +++ b/src/Xanthous/App.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE RecordWildCards #-} -------------------------------------------------------------------------------- diff --git a/src/Xanthous/Command.hs b/src/Xanthous/Command.hs index e12feaebd0bc..2e7e6f1ff566 100644 --- a/src/Xanthous/Command.hs +++ b/src/Xanthous/Command.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} -------------------------------------------------------------------------------- module Xanthous.Command where -------------------------------------------------------------------------------- diff --git a/src/Xanthous/Data.hs b/src/Xanthous/Data.hs index 2cfb8204d58c..ec40b8721122 100644 --- a/src/Xanthous/Data.hs +++ b/src/Xanthous/Data.hs @@ -1,6 +1,5 @@ {-# LANGUAGE PartialTypeSignatures #-} {-# LANGUAGE StandaloneDeriving #-} -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE RoleAnnotations #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE DeriveTraversable #-} diff --git a/src/Xanthous/Data/EntityMap.hs b/src/Xanthous/Data/EntityMap.hs index 4e7796b1f415..d24defa841ab 100644 --- a/src/Xanthous/Data/EntityMap.hs +++ b/src/Xanthous/Data/EntityMap.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE DeriveTraversable #-} diff --git a/src/Xanthous/Data/EntityMap/Graphics.hs b/src/Xanthous/Data/EntityMap/Graphics.hs index 0f2f2bfe16d6..5a73bd393848 100644 --- a/src/Xanthous/Data/EntityMap/Graphics.hs +++ b/src/Xanthous/Data/EntityMap/Graphics.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} -------------------------------------------------------------------------------- module Xanthous.Data.EntityMap.Graphics ( visiblePositions diff --git a/src/Xanthous/Entities/Character.hs b/src/Xanthous/Entities/Character.hs index 424488828c75..c18d726a4bfd 100644 --- a/src/Xanthous/Entities/Character.hs +++ b/src/Xanthous/Entities/Character.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE TemplateHaskell #-} module Xanthous.Entities.Character ( Character(..) diff --git a/src/Xanthous/Generators/CaveAutomata.hs b/src/Xanthous/Generators/CaveAutomata.hs index 5a7c081d03e9..83740fe4b73d 100644 --- a/src/Xanthous/Generators/CaveAutomata.hs +++ b/src/Xanthous/Generators/CaveAutomata.hs @@ -1,5 +1,4 @@ {-# LANGUAGE MultiWayIf #-} -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TemplateHaskell #-} -------------------------------------------------------------------------------- diff --git a/src/Xanthous/Generators/Dungeon.hs b/src/Xanthous/Generators/Dungeon.hs index fdc510bb79ec..7fde0075e64f 100644 --- a/src/Xanthous/Generators/Dungeon.hs +++ b/src/Xanthous/Generators/Dungeon.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE TemplateHaskell #-} -------------------------------------------------------------------------------- module Xanthous.Generators.Dungeon diff --git a/src/Xanthous/Generators/LevelContents.hs b/src/Xanthous/Generators/LevelContents.hs index 5f83a83a3b6e..ed4cc87e79d7 100644 --- a/src/Xanthous/Generators/LevelContents.hs +++ b/src/Xanthous/Generators/LevelContents.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} -------------------------------------------------------------------------------- module Xanthous.Generators.LevelContents ( chooseCharacterPosition diff --git a/src/Xanthous/Generators/Util.hs b/src/Xanthous/Generators/Util.hs index 13f248a045d8..cdac568e40a0 100644 --- a/src/Xanthous/Generators/Util.hs +++ b/src/Xanthous/Generators/Util.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE QuantifiedConstraints #-} {-# LANGUAGE AllowAmbiguousTypes #-} -------------------------------------------------------------------------------- diff --git a/src/Xanthous/Orphans.hs b/src/Xanthous/Orphans.hs index b7a4a3212629..8e82c372b21c 100644 --- a/src/Xanthous/Orphans.hs +++ b/src/Xanthous/Orphans.hs @@ -1,6 +1,5 @@ {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StandaloneDeriving #-} -{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE PackageImports #-} diff --git a/src/Xanthous/Util/Inflection.hs b/src/Xanthous/Util/Inflection.hs index fc66c0876125..724f2339dd21 100644 --- a/src/Xanthous/Util/Inflection.hs +++ b/src/Xanthous/Util/Inflection.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE ViewPatterns #-} module Xanthous.Util.Inflection ( toSentence -- cgit 1.4.1