{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE CPP #-}
module GitHub.Internal.Prelude (
module Prelude.Compat,
UTCTime,
HashMap,
Text, pack, unpack,
Vector,
Binary,
Data, Typeable,
Generic,
Hashable(..),
IsString(..),
NFData(..), genericRnf,
Semigroup(..),
FromJSON(..), ToJSON(..), Value(..), Object,
emptyObject,
encode,
withText, withObject, (.:), (.:?), (.!=), (.=), object, typeMismatch,
(<|>),
catMaybes,
intercalate, toList,
formatISO8601,
) where
import Control.Applicative ((<|>))
import Control.DeepSeq (NFData (..))
import Control.DeepSeq.Generics (genericRnf)
import Data.Aeson
(FromJSON (..), Object, ToJSON (..), Value (..), encode, object,
withObject, withText, (.!=), (.:), (.:?), (.=))
import Data.Aeson.Types (emptyObject, typeMismatch)
import Data.Binary (Binary)
import Data.Binary.Instances ()
import Data.Data (Data, Typeable)
import Data.Foldable (toList)
import Data.Hashable (Hashable (..))
import Data.HashMap.Strict (HashMap)
import Data.List (intercalate)
import Data.Maybe (catMaybes)
import Data.Semigroup (Semigroup (..))
import Data.String (IsString (..))
import Data.Text (Text, pack, unpack)
import Data.Time.Compat (UTCTime)
import Data.Time.ISO8601 (formatISO8601)
import Data.Vector (Vector)
import GHC.Generics (Generic)
import Prelude.Compat