Skip to content

Commit

Permalink
Merge pull request haskell#1034 from haskell/issue-993-internal-modules
Browse files Browse the repository at this point in the history
Resolve haskell#993: Remove Data.Aeson.Internal and .Time modules
  • Loading branch information
phadej authored Jun 9, 2023
2 parents 17f8946 + ca8f7f3 commit 14d796e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 55 deletions.
2 changes: 0 additions & 2 deletions aeson.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ library
Data.Aeson.Decoding.Tokens
Data.Aeson.Encoding
Data.Aeson.Encoding.Internal
Data.Aeson.Internal
Data.Aeson.Internal.Time
Data.Aeson.Key
Data.Aeson.KeyMap
Data.Aeson.Parser
Expand Down
3 changes: 1 addition & 2 deletions src/Data/Aeson.hs
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,10 @@ module Data.Aeson

import Control.Exception (Exception (..))
import Control.Monad.Catch (MonadThrow (..))
import Data.Aeson.Types.FromJSON (ifromJSON, parseIndexedJSON)
import Data.Aeson.Types.FromJSON (parseIndexedJSON)
import Data.Aeson.Encoding (encodingToLazyByteString)
import Data.Aeson.Parser.Internal (decodeWith, decodeStrictWith, eitherDecodeWith, eitherDecodeStrictWith, jsonEOF, json, jsonEOF', json')
import Data.Aeson.Types
import Data.Aeson.Types.Internal (formatError)
import qualified Data.ByteString as B
import qualified Data.ByteString.Lazy as L

Expand Down
28 changes: 0 additions & 28 deletions src/Data/Aeson/Internal.hs

This file was deleted.

21 changes: 0 additions & 21 deletions src/Data/Aeson/Internal/Time.hs

This file was deleted.

3 changes: 1 addition & 2 deletions tests/UnitTests/NullaryConstructors.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ module UnitTests.NullaryConstructors
import Prelude.Compat

import Data.Aeson (decode, eitherDecode, fromEncoding, Value)
import Data.Aeson.Internal (IResult (..), iparse)
import Data.Aeson.Types (Parser)
import Data.Aeson.Types (Parser, IResult (..), iparse)
import Data.ByteString.Builder (toLazyByteString)
import Data.Foldable (for_)
import Data.Maybe (fromJust)
Expand Down

0 comments on commit 14d796e

Please sign in to comment.