Skip to content

Commit

Permalink
switch from data-default-class to data-default
Browse files Browse the repository at this point in the history
because data-default-0.8 now deprecates data-default-class
  • Loading branch information
debug-ito committed Oct 31, 2024
1 parent fca0ae1 commit f7c0c9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
write-ghc-environment-files: ghc8.4.4+
packages: .

-- allow-newer: all
-- constraints: filepath <1.5
-- -- ^ The above constraint is necessary to cancel the effect of "allow-newer" on filepath.
-- -- 'unix' package (without "os-string" flag) has the above constraint, which is necessary to make a valid build plan.
allow-newer: all
constraints: filepath <1.5
-- ^ The above constraint is necessary to cancel the effect of "allow-newer" on filepath.
-- 'unix' package (without "os-string" flag) has the above constraint, which is necessary to make a valid build plan.
2 changes: 1 addition & 1 deletion fold-debounce.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ library
default-extensions: DeriveDataTypeable
-- other-modules:
build-depends: base ^>=4.14.0 || ^>=4.15.0 || ^>=4.16.0 || ^>=4.17.0 || ^>=4.18.0 || ^>=4.19.0 || ^>=4.20.0,
data-default-class ^>=0.1.2,
data-default,
stm ^>=2.5.0,
time ^>=1.9.3 || ^>=1.11.1 || ^>=1.12.2,
stm-delay ^>=0.1.1
Expand Down
2 changes: 1 addition & 1 deletion src/Control/FoldDebounce.hs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ import Control.Concurrent.STM (STM, TChan, TVar, atomically, new
readTChan, readTVar, retry, throwSTM, writeTChan,
writeTVar)
import Control.Concurrent.STM.Delay (cancelDelay, newDelay, waitDelay)
import Data.Default.Class (Default (def))
import Data.Default (Default (def))
import Data.Time (UTCTime, addUTCTime, diffUTCTime, getCurrentTime)

-- | Mandatory parameters for 'new'.
Expand Down

0 comments on commit f7c0c9d

Please sign in to comment.