bin: smooth, swap-dates: fix compile.sh warnings (#1072)

[ci skip]
This commit is contained in:
Simon Michael 2019-07-16 23:58:50 +01:00
parent 64d6878d6c
commit 45bb513eb8
2 changed files with 1 additions and 3 deletions

View File

@ -85,7 +85,7 @@ main = do
-- into equivalent daily postings up to the next given end date, -- into equivalent daily postings up to the next given end date,
-- keeping track of remaining end dates. -- keeping track of remaining end dates.
splitTransactionPostings :: Query -> AccountName -> [Day] -> Transaction -> ([Day], Transaction) splitTransactionPostings :: Query -> AccountName -> [Day] -> Transaction -> ([Day], Transaction)
splitTransactionPostings q acct dates t splitTransactionPostings _q acct dates t
-- | q `matchesTransaction` t = (dates', t') -- | q `matchesTransaction` t = (dates', t')
-- | otherwise = (dates, t) -- | otherwise = (dates, t)
| otherwise = (dates', t') | otherwise = (dates', t')

View File

@ -11,9 +11,7 @@
{-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE RecordWildCards #-} {-# LANGUAGE RecordWildCards #-}
import Data.List
import Data.String.Here import Data.String.Here
import qualified Data.Text.IO as T
import Hledger import Hledger
import Hledger.Cli import Hledger.Cli