lib,cli,ui,web: Remove unused LANGUAGE pragmas.
This commit is contained in:
		
							parent
							
								
									c87290e5f5
								
							
						
					
					
						commit
						68e975adf1
					
				| @ -1,10 +1,9 @@ | |||||||
| {-# LANGUAGE PackageImports #-} | {-# LANGUAGE LambdaCase          #-} | ||||||
| {-# LANGUAGE LambdaCase #-} | {-# LANGUAGE NamedFieldPuns      #-} | ||||||
| {-# LANGUAGE NamedFieldPuns #-} | {-# LANGUAGE OverloadedStrings   #-} | ||||||
| {-# LANGUAGE OverloadedStrings #-} | {-# LANGUAGE PackageImports      #-} | ||||||
| {-# LANGUAGE Rank2Types #-} | {-# LANGUAGE Rank2Types          #-} | ||||||
| {-# LANGUAGE ScopedTypeVariables #-} | {-# LANGUAGE ScopedTypeVariables #-} | ||||||
| {-# LANGUAGE StandaloneDeriving #-} |  | ||||||
| 
 | 
 | ||||||
| {-| | {-| | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -22,7 +22,6 @@ For more detailed documentation on each type, see the corresponding modules. | |||||||
| {-# LANGUAGE OverloadedStrings    #-} | {-# LANGUAGE OverloadedStrings    #-} | ||||||
| {-# LANGUAGE RecordWildCards      #-} | {-# LANGUAGE RecordWildCards      #-} | ||||||
| {-# LANGUAGE StandaloneDeriving   #-} | {-# LANGUAGE StandaloneDeriving   #-} | ||||||
| {-# LANGUAGE TypeSynonymInstances #-} |  | ||||||
| 
 | 
 | ||||||
| module Hledger.Data.Types | module Hledger.Data.Types | ||||||
| where | where | ||||||
|  | |||||||
| @ -14,13 +14,11 @@ A reader for CSV data, using an extra rules file to help interpret the data. | |||||||
| {-# LANGUAGE FlexibleContexts     #-} | {-# LANGUAGE FlexibleContexts     #-} | ||||||
| {-# LANGUAGE FlexibleInstances    #-} | {-# LANGUAGE FlexibleInstances    #-} | ||||||
| {-# LANGUAGE MultiWayIf           #-} | {-# LANGUAGE MultiWayIf           #-} | ||||||
| {-# LANGUAGE NamedFieldPuns       #-} |  | ||||||
| {-# LANGUAGE OverloadedStrings    #-} | {-# LANGUAGE OverloadedStrings    #-} | ||||||
| {-# LANGUAGE PackageImports       #-} | {-# LANGUAGE PackageImports       #-} | ||||||
| {-# LANGUAGE RecordWildCards      #-} | {-# LANGUAGE RecordWildCards      #-} | ||||||
| {-# LANGUAGE ScopedTypeVariables  #-} | {-# LANGUAGE ScopedTypeVariables  #-} | ||||||
| {-# LANGUAGE TypeFamilies         #-} | {-# LANGUAGE TypeFamilies         #-} | ||||||
| {-# LANGUAGE TypeSynonymInstances #-} |  | ||||||
| {-# LANGUAGE ViewPatterns         #-} | {-# LANGUAGE ViewPatterns         #-} | ||||||
| 
 | 
 | ||||||
| --- ** exports | --- ** exports | ||||||
|  | |||||||
| @ -26,14 +26,12 @@ Hledger.Read.Common, to avoid import cycles. | |||||||
| 
 | 
 | ||||||
| --- ** language | --- ** language | ||||||
| 
 | 
 | ||||||
| {-# LANGUAGE FlexibleContexts #-} | {-# LANGUAGE FlexibleContexts    #-} | ||||||
| {-# LANGUAGE NamedFieldPuns #-} | {-# LANGUAGE NamedFieldPuns      #-} | ||||||
| {-# LANGUAGE NoMonoLocalBinds #-} | {-# LANGUAGE NoMonoLocalBinds    #-} | ||||||
| {-# LANGUAGE OverloadedStrings #-} | {-# LANGUAGE OverloadedStrings   #-} | ||||||
| {-# LANGUAGE PackageImports #-} | {-# LANGUAGE PackageImports      #-} | ||||||
| {-# LANGUAGE RecordWildCards #-} |  | ||||||
| {-# LANGUAGE ScopedTypeVariables #-} | {-# LANGUAGE ScopedTypeVariables #-} | ||||||
| {-# LANGUAGE TupleSections #-} |  | ||||||
| 
 | 
 | ||||||
| --- ** exports | --- ** exports | ||||||
| module Hledger.Read.JournalReader ( | module Hledger.Read.JournalReader ( | ||||||
|  | |||||||
| @ -1,4 +1,6 @@ | |||||||
| {-# LANGUAGE OverloadedStrings, RecordWildCards, FlexibleInstances #-} | {-# LANGUAGE FlexibleInstances #-} | ||||||
|  | {-# LANGUAGE OverloadedStrings #-} | ||||||
|  | 
 | ||||||
| {-| | {-| | ||||||
| 
 | 
 | ||||||
| Generate several common kinds of report from a journal, as \"*Report\" - | Generate several common kinds of report from a journal, as \"*Report\" - | ||||||
|  | |||||||
| @ -1,6 +1,5 @@ | |||||||
| {-# LANGUAGE FlexibleInstances #-} | {-# LANGUAGE FlexibleInstances #-} | ||||||
| {-# LANGUAGE OverloadedStrings #-} | {-# LANGUAGE OverloadedStrings #-} | ||||||
| {-# LANGUAGE RecordWildCards   #-} |  | ||||||
| {-| | {-| | ||||||
| 
 | 
 | ||||||
| An account-centric transactions report. | An account-centric transactions report. | ||||||
|  | |||||||
| @ -4,7 +4,9 @@ Balance report, used by the balance command. | |||||||
| 
 | 
 | ||||||
| -} | -} | ||||||
| 
 | 
 | ||||||
| {-# LANGUAGE FlexibleInstances, RecordWildCards, ScopedTypeVariables, OverloadedStrings #-} | {-# LANGUAGE FlexibleInstances   #-} | ||||||
|  | {-# LANGUAGE OverloadedStrings   #-} | ||||||
|  | {-# LANGUAGE ScopedTypeVariables #-} | ||||||
| 
 | 
 | ||||||
| module Hledger.Reports.BalanceReport ( | module Hledger.Reports.BalanceReport ( | ||||||
|   BalanceReport, |   BalanceReport, | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ | |||||||
| {-# LANGUAGE OverloadedStrings   #-} | {-# LANGUAGE OverloadedStrings   #-} | ||||||
| {-# LANGUAGE RecordWildCards     #-} | {-# LANGUAGE RecordWildCards     #-} | ||||||
| {-# LANGUAGE ScopedTypeVariables #-} | {-# LANGUAGE ScopedTypeVariables #-} | ||||||
| {-# LANGUAGE TupleSections       #-} |  | ||||||
| 
 | 
 | ||||||
| module Hledger.Reports.BudgetReport ( | module Hledger.Reports.BudgetReport ( | ||||||
|   BudgetGoal, |   BudgetGoal, | ||||||
|  | |||||||
| @ -1,6 +1,5 @@ | |||||||
| {-# LANGUAGE FlexibleInstances #-} | {-# LANGUAGE FlexibleInstances #-} | ||||||
| {-# LANGUAGE OverloadedStrings #-} | {-# LANGUAGE OverloadedStrings #-} | ||||||
| {-# LANGUAGE RecordWildCards   #-} |  | ||||||
| {-| | {-| | ||||||
| 
 | 
 | ||||||
| A transactions report. Like an EntriesReport, but with more | A transactions report. Like an EntriesReport, but with more | ||||||
|  | |||||||
| @ -1,7 +1,5 @@ | |||||||
| -- | Basic color helpers for prettifying console output. | -- | Basic color helpers for prettifying console output. | ||||||
| 
 | 
 | ||||||
| {-# LANGUAGE OverloadedStrings #-} |  | ||||||
| 
 |  | ||||||
| module Hledger.Utils.Color | module Hledger.Utils.Color | ||||||
| ( | ( | ||||||
|   color, |   color, | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ | |||||||
| {-# LANGUAGE MultiParamTypeClasses #-} | {-# LANGUAGE MultiParamTypeClasses #-} | ||||||
| {-# LANGUAGE OverloadedStrings     #-} | {-# LANGUAGE OverloadedStrings     #-} | ||||||
| {-# LANGUAGE ScopedTypeVariables   #-} | {-# LANGUAGE ScopedTypeVariables   #-} | ||||||
| {-# LANGUAGE TypeSynonymInstances  #-} |  | ||||||
| {-| | {-| | ||||||
| 
 | 
 | ||||||
| Easy regular expression helpers, currently based on regex-tdfa. These should: | Easy regular expression helpers, currently based on regex-tdfa. These should: | ||||||
|  | |||||||
| @ -3,9 +3,8 @@ hledger-ui - a hledger add-on providing a curses-style interface. | |||||||
| Copyright (c) 2007-2015 Simon Michael <simon@joyful.com> | Copyright (c) 2007-2015 Simon Michael <simon@joyful.com> | ||||||
| Released under GPL version 3 or later. | Released under GPL version 3 or later. | ||||||
| -} | -} | ||||||
| {-# LANGUAGE LambdaCase #-} |  | ||||||
| {-# LANGUAGE OverloadedStrings #-} |  | ||||||
| {-# LANGUAGE MultiParamTypeClasses #-} | {-# LANGUAGE MultiParamTypeClasses #-} | ||||||
|  | {-# LANGUAGE OverloadedStrings     #-} | ||||||
| 
 | 
 | ||||||
| module Hledger.UI.Main where | module Hledger.UI.Main where | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,5 +1,4 @@ | |||||||
| {-# LANGUAGE CPP #-} | {-# LANGUAGE CPP #-} | ||||||
| {-# LANGUAGE LambdaCase #-} |  | ||||||
| {-| | {-| | ||||||
| 
 | 
 | ||||||
| -} | -} | ||||||
|  | |||||||
| @ -2,7 +2,6 @@ | |||||||
| 
 | 
 | ||||||
| {-# LANGUAGE NamedFieldPuns    #-} | {-# LANGUAGE NamedFieldPuns    #-} | ||||||
| {-# LANGUAGE OverloadedStrings #-} | {-# LANGUAGE OverloadedStrings #-} | ||||||
| {-# LANGUAGE RecordWildCards   #-} |  | ||||||
| 
 | 
 | ||||||
| module Hledger.UI.UIState | module Hledger.UI.UIState | ||||||
| where | where | ||||||
|  | |||||||
| @ -8,7 +8,6 @@ | |||||||
| {-# LANGUAGE QuasiQuotes           #-} | {-# LANGUAGE QuasiQuotes           #-} | ||||||
| {-# LANGUAGE TemplateHaskell       #-} | {-# LANGUAGE TemplateHaskell       #-} | ||||||
| {-# LANGUAGE TypeFamilies          #-} | {-# LANGUAGE TypeFamilies          #-} | ||||||
| {-# LANGUAGE TypeSynonymInstances  #-} |  | ||||||
| {-# LANGUAGE ViewPatterns          #-} | {-# LANGUAGE ViewPatterns          #-} | ||||||
| 
 | 
 | ||||||
| -- | Define the web application's foundation, in the usual Yesod style. | -- | Define the web application's foundation, in the usual Yesod style. | ||||||
|  | |||||||
| @ -7,8 +7,6 @@ adds some more which are easier to define here. | |||||||
| 
 | 
 | ||||||
| -} | -} | ||||||
| 
 | 
 | ||||||
| {-# LANGUAGE OverloadedStrings #-} |  | ||||||
| 
 |  | ||||||
| module Hledger.Cli ( | module Hledger.Cli ( | ||||||
|                      module Hledger.Cli.CliOptions, |                      module Hledger.Cli.CliOptions, | ||||||
|                      module Hledger.Cli.Commands, |                      module Hledger.Cli.Commands, | ||||||
|  | |||||||
| @ -36,8 +36,6 @@ etc. | |||||||
| 
 | 
 | ||||||
| -} | -} | ||||||
| 
 | 
 | ||||||
| {-# LANGUAGE QuasiQuotes #-} |  | ||||||
| 
 |  | ||||||
| module Hledger.Cli.Main where | module Hledger.Cli.Main where | ||||||
| 
 | 
 | ||||||
| import Data.Char (isDigit) | import Data.Char (isDigit) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user