From 2301bd2c92e0d5d945d044f3c115a2e722e0a1e8 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Sun, 29 Sep 2019 10:12:22 -0400 Subject: [PATCH] Remove unnecessary uses of -XCPP --- src/Data/Singletons/CustomStar.hs | 2 +- src/Data/Singletons/Single.hs | 2 +- src/Data/Singletons/TH.hs | 2 +- tests/SingletonsTestSuiteUtils.hs | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Data/Singletons/CustomStar.hs b/src/Data/Singletons/CustomStar.hs index ec75b074..f2c04d16 100644 --- a/src/Data/Singletons/CustomStar.hs +++ b/src/Data/Singletons/CustomStar.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE DataKinds, TypeFamilies, KindSignatures, TemplateHaskell, CPP #-} +{-# LANGUAGE DataKinds, TypeFamilies, KindSignatures, TemplateHaskell #-} ----------------------------------------------------------------------------- -- | diff --git a/src/Data/Singletons/Single.hs b/src/Data/Singletons/Single.hs index c119a390..7566b0de 100644 --- a/src/Data/Singletons/Single.hs +++ b/src/Data/Singletons/Single.hs @@ -6,7 +6,7 @@ rae@cs.brynmawr.edu This file contains functions to refine constructs to work with singleton types. It is an internal module to the singletons package. -} -{-# LANGUAGE TemplateHaskell, TupleSections, ParallelListComp, CPP #-} +{-# LANGUAGE TemplateHaskell, TupleSections, ParallelListComp #-} module Data.Singletons.Single where diff --git a/src/Data/Singletons/TH.hs b/src/Data/Singletons/TH.hs index ccf34bf2..8b848479 100644 --- a/src/Data/Singletons/TH.hs +++ b/src/Data/Singletons/TH.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE ExplicitNamespaces, CPP #-} +{-# LANGUAGE ExplicitNamespaces #-} ----------------------------------------------------------------------------- -- | diff --git a/tests/SingletonsTestSuiteUtils.hs b/tests/SingletonsTestSuiteUtils.hs index d9fed775..80c931cf 100644 --- a/tests/SingletonsTestSuiteUtils.hs +++ b/tests/SingletonsTestSuiteUtils.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveAnyClass #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}