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 (
-- * 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.

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
{-# LANGUAGE CPP #-}
{-# 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