Skip to content

Commit

Permalink
Use data-default instead of data-default-class (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
zliu41 authored Dec 13, 2024
1 parent 2b11376 commit 8267dc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apply-refact.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ test-suite test
, unix-compat

if impl(ghc <9.10)
build-depends: data-default-class
build-depends: data-default

default-extensions:
FlexibleContexts
Expand Down
2 changes: 1 addition & 1 deletion src/Refact/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import Control.Monad.Trans.State.Strict
import Data.Data
#if MIN_VERSION_ghc(9,10,0)
#else
import Data.Default.Class
import Data.Default
#endif
import Data.Foldable (foldlM, for_)
import Data.Functor.Identity (Identity (..))
Expand Down

0 comments on commit 8267dc4

Please sign in to comment.