HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Deserialization errors

datadata DeserializationError
#

Constructors

Instances6Show, Exception, Pretty, MonadError

MonadKeys

Reader monads

newtypenewtype ReadJSON_Keys_Layout a
#
Instances7Monad, Functor, Applicative, MonadKeys, ReportSchemaErrors, MonadError, …
newtypenewtype ReadJSON_Keys_NoLayout a
#
Instances6Monad, Functor, Applicative, MonadKeys, ReportSchemaErrors, MonadError
newtypenewtype ReadJSON_NoKeys_NoLayout a
#
Instances5Monad, Functor, Applicative, ReportSchemaErrors, MonadError

Utility

Writing

Utility

Re-exports

classclass FromJSON (m :: Type -> Type) a where
#

Methods

Instances39FromJSON, …
classclass FromObjectKey (m :: Type -> Type) a where

Used in the FromJSON instance for Map

Methods

Instances5FromObjectKey
classclass (Applicative m, Monad m) => ReportSchemaErrors (m :: Type -> Type) where

Monads in which we can report schema errors

Methods

Instances3ReportSchemaErrors
classclass ToJSON (m :: Type -> Type) a where
#

Methods

Instances40ToJSON, …
classclass ToObjectKey (m :: Type -> Type) a where

Used in the ToJSON instance for Map

Methods

Instances5ToObjectKey
newtypenewtype Int54

54-bit integer values

JavaScript can only safely represent numbers between -(2^53 - 1) and 2^53 - 1.

TODO: Although we introduce the type here, we don't actually do any bounds checking and just inherit all type class instance from Int64. We should probably define fromInteger to do bounds checking, give different instances for type classes such as Bounded and FiniteBits, etc.

Instances17Bounded, Enum, Eq, Integral, Data, Num, …
  • Bounded Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Enum Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Eq Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Integral Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Data Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Num Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Ord Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Read Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Real Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Show Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Ix Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Bits Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • FiniteBits Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Storable Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • PrintfArg Int54Defined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • ReportSchemaErrors m => FromJSON m Int54Defined in hackage-security-0.6.4.0 · Hackage.Security.Util.JSON
  • Monad m => ToJSON m Int54Defined in hackage-security-0.6.4.0 · Hackage.Security.Util.JSON
datadata JSValue
#
Instances6Eq, Ord, Read, Show, FromJSON, ToJSON
  • Eq JSValueDefined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Ord JSValueDefined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Read JSValueDefined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Show JSValueDefined in hackage-security-0.6.4.0 · Text.JSON.Canonical
  • Monad m => FromJSON m JSValueDefined in hackage-security-0.6.4.0 · Hackage.Security.Util.JSON
  • Monad m => ToJSON m JSValueDefined in hackage-security-0.6.4.0 · Hackage.Security.Util.JSON