mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-12 19:08:34 +03:00
; silence safe 0.3.18's deprecation warnings for now
(max|min)imum(By)?Def are being replaced by (max|min)imumBound(By)? but the old functions have the semantics I want and I don't understand the new ones yet. This can hide other deprecation warnings in this file, and presumably the old functions will be removed later, so this is temporary. Cf https://github.com/ndmitchell/safe/issues/26
This commit is contained in:
parent
64470ba392
commit
0b734be445
@ -40,6 +40,10 @@ exchange rates.
|
||||
|
||||
-}
|
||||
|
||||
-- Silence safe 0.3.18's deprecation warnings for (max|min)imum(By)?Def for now
|
||||
-- (may hide other deprecation warnings too). https://github.com/ndmitchell/safe/issues/26
|
||||
{-# OPTIONS_GHC -Wno-warnings-deprecations #-}
|
||||
|
||||
{-# LANGUAGE StandaloneDeriving, RecordWildCards, OverloadedStrings #-}
|
||||
|
||||
module Hledger.Data.Amount (
|
||||
|
@ -5,6 +5,10 @@ transactions..) by various criteria, and a SimpleTextParser for query expressio
|
||||
|
||||
-}
|
||||
|
||||
-- Silence safe 0.3.18's deprecation warnings for (max|min)imum(By)?Def for now
|
||||
-- (may hide other deprecation warnings too). https://github.com/ndmitchell/safe/issues/26
|
||||
{-# OPTIONS_GHC -Wno-warnings-deprecations #-}
|
||||
|
||||
{-# LANGUAGE DeriveDataTypeable, OverloadedStrings, ViewPatterns #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user