From a1d84fcb94d3e2f96d837643519806fd49522634 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 7 May 2018 10:33:14 +0200 Subject: Move non-breaking language extensions to package.yaml --- edit-lens/package.yaml | 3 +++ edit-lens/src/Data/String/DFST.hs | 4 +--- edit-lens/src/Data/String/DFST/Lens.lhs | 3 --- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/edit-lens/package.yaml b/edit-lens/package.yaml index 5e8c2d2..0030420 100644 --- a/edit-lens/package.yaml +++ b/edit-lens/package.yaml @@ -19,6 +19,9 @@ library: - AllowAmbiguousTypes - TypeApplications - GADTs + - RecordWildCards + - PatternGuards + - TupleSections source-dirs: src dependencies: - base diff --git a/edit-lens/src/Data/String/DFST.hs b/edit-lens/src/Data/String/DFST.hs index 75ca1cd..702a0d8 100644 --- a/edit-lens/src/Data/String/DFST.hs +++ b/edit-lens/src/Data/String/DFST.hs @@ -1,6 +1,4 @@ -{-# LANGUAGE RecordWildCards - , PatternGuards - , ScopedTypeVariables +{-# LANGUAGE ScopedTypeVariables #-} {-| diff --git a/edit-lens/src/Data/String/DFST/Lens.lhs b/edit-lens/src/Data/String/DFST/Lens.lhs index 52c80d0..e4d9083 100644 --- a/edit-lens/src/Data/String/DFST/Lens.lhs +++ b/edit-lens/src/Data/String/DFST/Lens.lhs @@ -1,7 +1,4 @@ \begin{code} -{-# LANGUAGE TupleSections - #-} - module Data.String.DFST.Lens ( ) where -- cgit v1.2.3