remove some unneeded CPP pragmas

This commit is contained in:
Simon Michael 2018-07-31 09:30:08 +01:00
parent 9bd1772ea8
commit 1e0a7ec8f1
8 changed files with 6 additions and 8 deletions

View File

@ -40,7 +40,7 @@ exchange rates.
-} -}
{-# LANGUAGE CPP, StandaloneDeriving, RecordWildCards, OverloadedStrings #-} {-# LANGUAGE StandaloneDeriving, RecordWildCards, OverloadedStrings #-}
module Hledger.Data.Amount ( module Hledger.Data.Amount (
-- * Amount -- * Amount

View File

@ -1,4 +1,4 @@
{-# LANGUAGE CPP, DeriveDataTypeable, StandaloneDeriving, DeriveGeneric, TypeSynonymInstances, FlexibleInstances, OverloadedStrings #-} {-# LANGUAGE DeriveDataTypeable, StandaloneDeriving, DeriveGeneric, TypeSynonymInstances, FlexibleInstances, OverloadedStrings #-}
{-| {-|
Most data types are defined here to avoid import cycles. Most data types are defined here to avoid import cycles.

View File

@ -1,4 +1,4 @@
{-# LANGUAGE CPP, RecordWildCards, DeriveDataTypeable #-} {-# LANGUAGE RecordWildCards, DeriveDataTypeable #-}
{-| {-|
Options common to most hledger reports. Options common to most hledger reports.

View File

@ -1,4 +1,4 @@
{-# LANGUAGE CPP, FlexibleContexts, TypeFamilies #-} {-# LANGUAGE FlexibleContexts, TypeFamilies #-}
-- | Debugging helpers -- | Debugging helpers
-- more: -- more:

View File

@ -1,4 +1,4 @@
{-# LANGUAGE CPP, TypeFamilies #-} {-# LANGUAGE TypeFamilies #-}
module Hledger.Utils.Parse ( module Hledger.Utils.Parse (
SimpleStringParser, SimpleStringParser,

View File

@ -1,5 +1,4 @@
{-# OPTIONS_GHC -fno-warn-orphans #-} {-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE ViewPatterns #-}

View File

@ -1,4 +1,3 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-| {-|

View File

@ -1,4 +1,4 @@
{-# LANGUAGE ScopedTypeVariables, CPP #-} {-# LANGUAGE ScopedTypeVariables #-}
{-| {-|
Utilities for top-level modules and ghci. See also Hledger.Read and Utilities for top-level modules and ghci. See also Hledger.Read and