Skip to content

Commit

Permalink
data-default-class -> data-default
Browse files Browse the repository at this point in the history
data-default 0.8 deprecates data-default-class by moving the `Default`
class from `Data.Default.Class` to `Data.Default`.

See: commercialhaskell/stackage#7545
  • Loading branch information
9999years authored and k0ral committed Oct 31, 2024
1 parent aa963de commit 2073d94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xml-conduit/src/Text/XML/Stream/Parse.hs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ import qualified Data.ByteString.Builder as Builder
import Data.Char (isSpace)
import Data.Conduit.Attoparsec (PositionRange, conduitParser)
import qualified Data.Conduit.Text as CT
import Data.Default.Class (Default (..))
import Data.Default (Default (..))
import Data.List (foldl', intercalate)
import qualified Data.Map as Map
import Data.Maybe (fromMaybe, isNothing, mapMaybe)
Expand Down
2 changes: 1 addition & 1 deletion xml-conduit/src/Text/XML/Stream/Render.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import Control.Monad.Trans.Resource (MonadThrow)
import Data.ByteString (ByteString)
import Data.ByteString.Builder (Builder)
import Conduit
import Data.Default.Class (Default (def))
import Data.Default (Default (def))
import Data.List (foldl')
import Data.Map (Map)
import qualified Data.Map as Map
Expand Down
2 changes: 1 addition & 1 deletion xml-conduit/xml-conduit.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ library
, xml-types >= 0.3.4 && < 0.4
, attoparsec >= 0.10
, transformers >= 0.2 && < 0.7
, data-default-class
, data-default
, blaze-markup >= 0.5
, blaze-html >= 0.5
, deepseq >= 1.1.0.0
Expand Down

0 comments on commit 2073d94

Please sign in to comment.