From ee222b40569b9f40c482dd9df518f6445c1c304d Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 5 Jan 2020 16:42:09 +0100 Subject: compiler: enable language extensions on whole project --- compiler/src/Compiler.hs | 7 ------- compiler/src/Config.hs | 7 ------- compiler/src/Files.hs | 6 ------ compiler/src/Input.hs | 7 ------- compiler/src/Processors.hs | 7 ------- compiler/src/Resource.hs | 7 ------- 6 files changed, 41 deletions(-) (limited to 'compiler/src') diff --git a/compiler/src/Compiler.hs b/compiler/src/Compiler.hs index f4b38d0..b9f52e5 100644 --- a/compiler/src/Compiler.hs +++ b/compiler/src/Compiler.hs @@ -16,13 +16,6 @@ -- You should have received a copy of the GNU Affero General Public License -- along with this program. If not, see . -{-# LANGUAGE - DuplicateRecordFields - , DeriveGeneric - , DeriveAnyClass - , NamedFieldPuns -#-} - module Compiler ( compileGallery ) where diff --git a/compiler/src/Config.hs b/compiler/src/Config.hs index c6d77af..b9434ba 100644 --- a/compiler/src/Config.hs +++ b/compiler/src/Config.hs @@ -16,13 +16,6 @@ -- You should have received a copy of the GNU Affero General Public License -- along with this program. If not, see . -{-# LANGUAGE - DuplicateRecordFields - , DeriveGeneric - , DeriveAnyClass - , OverloadedStrings -#-} - module Config ( GalleryConfig(..) , CompilerConfig(..) diff --git a/compiler/src/Files.hs b/compiler/src/Files.hs index 291a1c5..51e97e6 100644 --- a/compiler/src/Files.hs +++ b/compiler/src/Files.hs @@ -16,12 +16,6 @@ -- You should have received a copy of the GNU Affero General Public License -- along with this program. If not, see . -{-# LANGUAGE - DuplicateRecordFields - , DeriveGeneric - , NamedFieldPuns -#-} - module Files ( FileName, LocalPath, WebPath, Path , (), (), (<.>) diff --git a/compiler/src/Input.hs b/compiler/src/Input.hs index ab2bc3c..02f79f0 100644 --- a/compiler/src/Input.hs +++ b/compiler/src/Input.hs @@ -16,13 +16,6 @@ -- You should have received a copy of the GNU Affero General Public License -- along with this program. If not, see . -{-# LANGUAGE - DuplicateRecordFields - , DeriveGeneric - , DeriveAnyClass - , NamedFieldPuns -#-} - module Input ( decodeYamlFile , Sidecar(..) diff --git a/compiler/src/Processors.hs b/compiler/src/Processors.hs index 6ee8c78..e10dc21 100644 --- a/compiler/src/Processors.hs +++ b/compiler/src/Processors.hs @@ -16,13 +16,6 @@ -- You should have received a copy of the GNU Affero General Public License -- along with this program. If not, see . -{-# LANGUAGE - DuplicateRecordFields - , DeriveGeneric - , DeriveAnyClass - , FlexibleContexts -#-} - module Processors ( Resolution(..) , DirFileProcessor, dirFileProcessor diff --git a/compiler/src/Resource.hs b/compiler/src/Resource.hs index c09b77a..19bd32c 100644 --- a/compiler/src/Resource.hs +++ b/compiler/src/Resource.hs @@ -16,13 +16,6 @@ -- You should have received a copy of the GNU Affero General Public License -- along with this program. If not, see . -{-# LANGUAGE - DuplicateRecordFields - , DeriveGeneric - , DeriveAnyClass - , NamedFieldPuns -#-} - module Resource ( DirProcessor, ItemProcessor, ThumbnailProcessor , GalleryItem(..), GalleryItemProps(..), Resolution(..) -- cgit v1.2.3