An (Encoder a) represents a way to marshal a value of type 'a' from
Haskell into Dhall.
Instances1Contravariant
Contravariant EncoderDefined in dhall-1.42.3 · Dhall.Marshal.Encode
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Moduledhall-1.42.3Haskell2010
Please read the Dhall.Tutorial module, which contains a tutorial explaining how to use the language, the compiler, and this library
An (Encoder a) represents a way to marshal a value of type 'a' from
Haskell into Dhall.
Contravariant EncoderDefined in dhall-1.42.3 · Dhall.Marshal.EncodeThis class is used by FromDhall instance for functions:
instance (ToDhall a, FromDhall b) => FromDhall (a -> b)You can convert Dhall functions with "simple" inputs (i.e. instances of this class) into Haskell functions. This works by:
Marshaling the input to the Haskell function into a Dhall expression (i.e.
x :: Expr Src Void)
Applying the Dhall function (i.e. f :: Expr Src Void) to the Dhall input
(i.e. App f x)
Normalizing the syntax tree (i.e. normalize (App f x))
Marshaling the resulting Dhall expression back into a Haskell value
This class auto-generates a default implementation for types that implement Generic. This does not auto-generate an instance for recursive types.
The default instance can be tweaked using genericToDhallWith/genericToDhallWithInputNormalizer and custom InterpretOptions, or using DerivingVia and Codec from Dhall.Deriving.
injectWith :: InputNormalizer -> Encoder aToDhall ByteStringDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall ByteStringDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall ShortByteStringDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall IntegerDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall NaturalDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall StringDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall VoidDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall Int16Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall Int32Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall Int64Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall Int8Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall Word16Defined in dhall-1.42.3 · Dhall.Marshal.EncodeEncode a Word16 to a Dhall Natural.
embed inject (12 :: Word16)NaturalLit 12
ToDhall Word32Defined in dhall-1.42.3 · Dhall.Marshal.EncodeEncode a Word32 to a Dhall Natural.
embed inject (12 :: Word32)NaturalLit 12
ToDhall Word64Defined in dhall-1.42.3 · Dhall.Marshal.EncodeEncode a Word64 to a Dhall Natural.
embed inject (12 :: Word64)NaturalLit 12
ToDhall Word8Defined in dhall-1.42.3 · Dhall.Marshal.EncodeEncode a Word8 to a Dhall Natural.
embed inject (12 :: Word8)NaturalLit 12
ToDhall BoolDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall DoubleDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall IntDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall WordDefined in dhall-1.42.3 · Dhall.Marshal.EncodeEncode a Word to a Dhall Natural.
embed inject (12 :: Word)NaturalLit 12
ToDhall ScientificDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall ShortTextDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall DayDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall DayOfWeekDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall UTCTimeDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall LocalTimeDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall TimeOfDayDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall TimeZoneDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall ZonedTimeDefined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall ()Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall (f (Result f)) => ToDhall (Result f)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall a => ToDhall (Seq a)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall a => ToDhall (Set a)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeNote that the output list will be sorted.
let x = Data.Set.fromList ["mom", "hi" :: Text]prettyExpr $ embed inject x[ "hi", "mom" ]
ToDhall a => ToDhall (Maybe a)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall a => ToDhall (HashSet a)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeNote that the output list may not be sorted
ToDhall a => ToDhall (Vector a)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeToDhall a => ToDhall [a]Defined in dhall-1.42.3 · Dhall.Marshal.Encode(Functor f, ToDhall (f (Result f))) => ToDhall (Fix f)Defined in dhall-1.42.3 · Dhall.Marshal.Encode(ToDhall a, ToDhall b) => ToDhall (a, b)Defined in dhall-1.42.3 · Dhall.Marshal.Encode(ToDhall k, ToDhall v) => ToDhall (Map k v)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeEmbed a Data.Map as a Prelude.Map.Type.
prettyExpr $ embed inject (Data.Map.fromList [(1 :: Natural, True)])[ { mapKey = 1, mapValue = True } ]
prettyExpr $ embed inject (Data.Map.fromList [] :: Data.Map.Map Natural Bool)[] : List { mapKey : Natural, mapValue : Bool }
(ToDhall k, ToDhall v) => ToDhall (HashMap k v)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeEmbed a Data.HashMap as a Prelude.Map.Type.
prettyExpr $ embed inject (HashMap.fromList [(1 :: Natural, True)])[ { mapKey = 1, mapValue = True } ]
prettyExpr $ embed inject (HashMap.fromList [] :: HashMap Natural Bool)[] : List { mapKey : Natural, mapValue : Bool }
(Generic a, GenericToDhall (Rep a), ModifyOptions tag) => ToDhall (Codec tag a)Defined in dhall-1.42.3 · Dhall.DerivingDeprecated. Use ToDhall instead
A compatibility alias for ToDhall
Use the default input normalizer for injecting a value.
inject = injectWith defaultInputNormalizerThe RecordEncoder divisible (contravariant) functor allows you to build an Encoder for a Dhall record.
For example, let's take the following Haskell data type:
:{data Project = Project { projectName :: Text , projectDescription :: Text , projectStars :: Natural }:}
And assume that we have the following Dhall record that we would like to
parse as a Project:
{ name =
"dhall-haskell"
, description =
"A configuration language guaranteed to terminate"
, stars =
289
}Our encoder has type Encoder Project, but we can't build that out of any
smaller encoders, as Encoders cannot be combined (they are only Contravariants).
However, we can use an RecordEncoder to build an Encoder for Project:
:{injectProject :: Encoder ProjectinjectProject = recordEncoder ( adapt >$< encodeFieldWith "name" inject >*< encodeFieldWith "description" inject >*< encodeFieldWith "stars" inject ) where adapt (Project{..}) = (projectName, (projectDescription, projectStars)):}
Or, since we are simply using the ToDhall instance to inject each field, we could write
:{injectProject :: Encoder ProjectinjectProject = recordEncoder ( adapt >$< encodeField "name" >*< encodeField "description" >*< encodeField "stars" ) where adapt (Project{..}) = (projectName, (projectDescription, projectStars)):}
RecordEncoder (Map Text (Encoder a))Contravariant RecordEncoderDefined in dhall-1.42.3 · Dhall.Marshal.EncodeDivisible RecordEncoderDefined in dhall-1.42.3 · Dhall.Marshal.EncodeConvert a RecordEncoder into the equivalent Encoder.
Specify how to encode one field of a record using the default ToDhall instance for that type.
Specify how to encode one field of a record by supplying an explicit Encoder for that field.
UnionEncoder allows you to build an Encoder for a Dhall record.
For example, let's take the following Haskell data type:
:{data Status = Queued Natural | Result Text | Errored Text:}
And assume that we have the following Dhall union that we would like to
parse as a Status:
< Result : Text
| Queued : Natural
| Errored : Text
>.Result "Finish successfully"Our encoder has type Encoder Status, but we can't build that out of any
smaller encoders, as Encoders cannot be combined.
However, we can use an UnionEncoder to build an Encoder for Status:
:{injectStatus :: Encoder StatusinjectStatus = adapt >$< unionEncoder ( encodeConstructorWith "Queued" inject >|< encodeConstructorWith "Result" inject >|< encodeConstructorWith "Errored" inject ) where adapt (Queued n) = Left n adapt (Result t) = Right (Left t) adapt (Errored e) = Right (Right e):}
Or, since we are simply using the ToDhall instance to inject each branch, we could write
:{injectStatus :: Encoder StatusinjectStatus = adapt >$< unionEncoder ( encodeConstructor "Queued" >|< encodeConstructor "Result" >|< encodeConstructor "Errored" ) where adapt (Queued n) = Left n adapt (Result t) = Right (Left t) adapt (Errored e) = Right (Right e):}
Contravariant UnionEncoderDefined in dhall-1.42.3 · Dhall.Marshal.EncodeConvert a UnionEncoder into the equivalent Encoder.
Specify how to encode an alternative by using the default ToDhall instance for that type.
Specify how to encode an alternative by providing an explicit Encoder for that alternative.
Combines two UnionEncoder values. See UnionEncoder for usage notes.
Ideally, this matches chosen; however, this allows UnionEncoder to not need a Divisible instance itself (since no instance is possible).
This is the underlying class that powers the FromDhall class's support for automatically deriving a generic implementation.
genericToDhallWithNormalizer :: InputNormalizer -> InterpretOptions -> State Int (Encoder (f a))GenericToDhall U1Defined in dhall-1.42.3 · Dhall.Marshal.Encode(GenericToDhall (f :*: g), GenericToDhall (h :*: i)) => GenericToDhall ((f :*: g) :*: (h :*: i))Defined in dhall-1.42.3 · Dhall.Marshal.Encode(GenericToDhall (f :*: g), Selector s, ToDhall a) => GenericToDhall ((f :*: g) :*: M1 S s (K1 i a))Defined in dhall-1.42.3 · Dhall.Marshal.Encode(GenericToDhall (f :+: g), GenericToDhall (h :+: i)) => GenericToDhall ((f :+: g) :+: (h :+: i))Defined in dhall-1.42.3 · Dhall.Marshal.Encode(Constructor c, GenericToDhall (f :+: g), GenericToDhall h) => GenericToDhall ((f :+: g) :+: M1 C c h)Defined in dhall-1.42.3 · Dhall.Marshal.Encode(Constructor c, GenericToDhall f, GenericToDhall (g :+: h)) => GenericToDhall (M1 C c f :+: (g :+: h))Defined in dhall-1.42.3 · Dhall.Marshal.Encode(Constructor c1, Constructor c2, GenericToDhall f1, GenericToDhall f2) => GenericToDhall (M1 C c1 f1 :+: M1 C c2 f2)Defined in dhall-1.42.3 · Dhall.Marshal.Encode(Selector s, ToDhall a, GenericToDhall (f :*: g)) => GenericToDhall (M1 S s (K1 i a) :*: (f :*: g))Defined in dhall-1.42.3 · Dhall.Marshal.Encode(Selector s1, Selector s2, ToDhall a1, ToDhall a2) => GenericToDhall (M1 S s1 (K1 i1 a1) :*: M1 S s2 (K1 i2 a2))Defined in dhall-1.42.3 · Dhall.Marshal.EncodeGenericToDhall f => GenericToDhall (M1 C c f)Defined in dhall-1.42.3 · Dhall.Marshal.EncodeGenericToDhall f => GenericToDhall (M1 D d f)Defined in dhall-1.42.3 · Dhall.Marshal.Encode(Selector s, ToDhall a) => GenericToDhall (M1 S s (K1 i a))Defined in dhall-1.42.3 · Dhall.Marshal.EncodeUse the default options for injecting a value, whose structure is determined generically.
This can be used when you want to use ToDhall on types that you don't want to define orphan instances for.
Use custom options for injecting a value, whose structure is determined generically.
This can be used when you want to use ToDhall on types that you don't want to define orphan instances for.
genericToDhallWithInputNormalizer is like genericToDhallWith, but instead of using the defaultInputNormalizer it expects an custom InputNormalizer.
Use these options to tweak how Dhall derives a generic implementation of FromDhall.
InterpretOptionsfieldModifier :: Text -> TextFunction used to transform Haskell field names into their corresponding Dhall field names
constructorModifier :: Text -> TextFunction used to transform Haskell constructor names into their corresponding Dhall alternative names
singletonConstructors :: SingletonConstructorsSpecify how to handle constructors with only one field. The default is Smart
This type specifies how to model a Haskell constructor with 1 field in Dhall
For example, consider the following Haskell datatype definition:
data Example = Foo { x :: Double } | Bar DoubleDepending on which option you pick, the corresponding Dhall type could be:
< Foo : Double | Bar : Double > -- Bare< Foo : { x : Double } | Bar : { _1 : Double } > -- Wrapped< Foo : { x : Double } | Bar : Double > -- SmartToSingletonConstructors a => ModifyOptions (SetSingletonConstructors a)Defined in dhall-1.42.3 · Dhall.DerivingDefault interpret options for generics-based instances, which you can tweak or override, like this:
genericAutoWith
(defaultInterpretOptions { fieldModifier = Data.Text.Lazy.dropWhile (== '_') })This is only used by the FromDhall instance for functions in order to normalize the function input before marshaling the input into a Dhall expression.
Default normalization-related settings (no custom normalization)
This is an infix alias for contramap.
Infix divided
Natural number
Invariant: numbers <= 0xffffffffffffffff use the NS constructor
Enum NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumEq NaturalDefined in ghc-bignum-1.3 · GHC.Num.NaturalIntegral NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.RealData NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.DataNum NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.NumOrd NaturalDefined in ghc-bignum-1.3 · GHC.Num.NaturalRead NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.ReadReal NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.RealShow NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.ShowIx NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.IxBits NaturalDefined in ghc-internal-9.1003.0 · GHC.Internal.BitsPrintfArg NaturalDefined in base-4.20.2.0 · Text.PrintfNFData NaturalDefined in deepseq-1.5.0.0 · Control.DeepSeqUniformRange NaturalDefined in random-1.2.1.3 · System.Random.InternalBinary NaturalDefined in binary-0.8.9.3 · Data.Binary.ClassHashable NaturalDefined in hashable-1.4.7.0 · Data.Hashable.ClassFromJSON NaturalDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONFromJSONKey NaturalDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONToJSON NaturalDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONToJSONKey NaturalDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONSerialize NaturalDefined in cereal-0.5.8.3 · Data.SerializeIntegral NaturalDefined in basement-0.0.16 · Basement.Compat.NumLiteralAdditive NaturalDefined in basement-0.0.16 · Basement.Numerical.AdditiveIsNatural NaturalDefined in basement-0.0.16 · Basement.Numerical.NumberIDivisible NaturalDefined in basement-0.0.16 · Basement.Numerical.MultiplicativeMultiplicative NaturalDefined in basement-0.0.16 · Basement.Numerical.MultiplicativeSubtractive NaturalDefined in basement-0.0.16 · Basement.Numerical.SubtractiveIsIntegral NaturalDefined in basement-0.0.16 · Basement.Numerical.NumberNormalForm NaturalDefined in basement-0.0.16 · Basement.NormalFormPretty NaturalDefined in prettyprinter-1.7.1 · Prettyprinter.InternalSerialise NaturalDefined in serialise-0.2.6.1 · Codec.Serialise.ClassFromDhall NaturalDefined in dhall-1.42.3 · Dhall.Marshal.DecodeToDhall NaturalDefined in dhall-1.42.3 · Dhall.Marshal.EncodeLift NaturalDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxTestCoercion SNatDefined in ghc-internal-9.1003.0 · GHC.Internal.TypeNatsTestEquality SNatDefined in ghc-internal-9.1003.0 · GHC.Internal.TypeNatsIsNatural n => From n NaturalDefined in basement-0.0.16 · Basement.FromIntegralDownsize Integer NaturalDefined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word16Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word32Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word64Defined in basement-0.0.16 · Basement.IntegralConvIntegralDownsize Natural Word8Defined in basement-0.0.16 · Basement.IntegralConvIsNatural a => IntegralUpsize a NaturalDefined in basement-0.0.16 · Basement.IntegralConvtype Compare a b = CmpNat a bDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Type.Ordtype Difference Natural = Maybe NaturalDefined in basement-0.0.16 · Basement.Numerical.SubtractiveGeneral-purpose finite sequences.
Monad SeqDefined in containers-0.7 · Data.Sequence.InternalFunctor SeqDefined in containers-0.7 · Data.Sequence.InternalMonadFix SeqDefined in containers-0.7 · Data.Sequence.InternalApplicative SeqDefined in containers-0.7 · Data.Sequence.InternalFoldable SeqDefined in containers-0.7 · Data.Sequence.InternalTraversable SeqDefined in containers-0.7 · Data.Sequence.InternalAlternative SeqDefined in containers-0.7 · Data.Sequence.InternalMonadPlus SeqDefined in containers-0.7 · Data.Sequence.InternalMonadZip SeqDefined in containers-0.7 · Data.Sequence.InternalEq1 SeqDefined in containers-0.7 · Data.Sequence.InternalOrd1 SeqDefined in containers-0.7 · Data.Sequence.InternalRead1 SeqDefined in containers-0.7 · Data.Sequence.InternalShow1 SeqDefined in containers-0.7 · Data.Sequence.InternalUnzipWith SeqDefined in containers-0.7 · Data.Sequence.InternalArbitrary1 SeqDefined in QuickCheck-2.15.0.1 · Test.QuickCheck.ArbitraryHashable1 SeqDefined in hashable-1.4.7.0 · Data.Hashable.ClassAlt SeqDefined in semigroupoids-6.0.1 · Data.Functor.AltApply SeqDefined in semigroupoids-6.0.1 · Data.Functor.Bind.ClassBind SeqDefined in semigroupoids-6.0.1 · Data.Functor.Bind.ClassExtend SeqDefined in semigroupoids-6.0.1 · Data.Functor.ExtendPlus SeqDefined in semigroupoids-6.0.1 · Data.Functor.PlusAlign SeqDefined in semialign-1.3.1 · Data.Semialign.InternalSemialign SeqDefined in semialign-1.3.1 · Data.Semialign.InternalCrosswalk SeqDefined in semialign-1.3.1 · Data.CrosswalkUnzip SeqDefined in semialign-1.3.1 · Data.Semialign.InternalZip SeqDefined in semialign-1.3.1 · Data.Semialign.InternalFilterable SeqDefined in witherable-0.5 · WitherableWitherable SeqDefined in witherable-0.5 · WitherableFromJSON1 SeqDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONToJSON1 SeqDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONFoldableWithIndex Int SeqDefined in indexed-traversable-0.1.4 · WithIndexFunctorWithIndex Int SeqDefined in indexed-traversable-0.1.4 · WithIndexThe position in the Seq is available as the index.
TraversableWithIndex Int SeqDefined in indexed-traversable-0.1.4 · WithIndexSemialignWithIndex Int SeqDefined in semialign-1.3.1 · Data.Semialign.InternalZipWithIndex Int SeqDefined in semialign-1.3.1 · Data.Semialign.InternalFilterableWithIndex Int SeqDefined in witherable-0.5 · WitherableWitherableWithIndex Int SeqDefined in witherable-0.5 · WitherableLift a => Lift (Seq a)Defined in containers-0.7 · Data.Sequence.InternalIsList (Seq a)Defined in containers-0.7 · Data.Sequence.InternalEq a => Eq (Seq a)Defined in containers-0.7 · Data.Sequence.InternalData a => Data (Seq a)Defined in containers-0.7 · Data.Sequence.InternalOrd a => Ord (Seq a)Defined in containers-0.7 · Data.Sequence.InternalRead a => Read (Seq a)Defined in containers-0.7 · Data.Sequence.InternalShow a => Show (Seq a)Defined in containers-0.7 · Data.Sequence.Internala ~ Char => IsString (Seq a)Defined in containers-0.7 · Data.Sequence.InternalSemigroup (Seq a)Defined in containers-0.7 · Data.Sequence.InternalMonoid (Seq a)Defined in containers-0.7 · Data.Sequence.InternalNFData a => NFData (Seq a)Defined in containers-0.7 · Data.Sequence.InternalArbitrary a => Arbitrary (Seq a)Defined in QuickCheck-2.15.0.1 · Test.QuickCheck.ArbitraryWARNING: The same warning as for Arbitrary (Set a) applies here.
CoArbitrary a => CoArbitrary (Seq a)Defined in QuickCheck-2.15.0.1 · Test.QuickCheck.ArbitraryFunction a => Function (Seq a)Defined in QuickCheck-2.15.0.1 · Test.QuickCheck.FunctionBinary e => Binary (Seq e)Defined in binary-0.8.9.3 · Data.Binary.ClassHashable v => Hashable (Seq v)Defined in hashable-1.4.7.0 · Data.Hashable.ClassFromJSON a => FromJSON (Seq a)Defined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONToJSON a => ToJSON (Seq a)Defined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONSerialize e => Serialize (Seq e)Defined in cereal-0.5.8.3 · Data.SerializeDefault (Seq a)Defined in data-default-0.8.0.1 · Data.Default.InternalSerialise a => Serialise (Seq a)Defined in serialise-0.2.6.1 · Codec.Serialise.ClassOrd a => Stream (Seq a)Defined in megaparsec-9.7.0 · Text.Megaparsec.StreamFromDhall a => FromDhall (Seq a)Defined in dhall-1.42.3 · Dhall.Marshal.DecodeToDhall a => ToDhall (Seq a)Defined in dhall-1.42.3 · Dhall.Marshal.Encodetype Item (Seq a) = aDefined in containers-0.7 · Data.Sequence.Internaltype Token (Seq a) = aDefined in megaparsec-9.7.0 · Text.Megaparsec.Streamtype Tokens (Seq a) = Seq aDefined in megaparsec-9.7.0 · Text.Megaparsec.StreamA space efficient, packed, unboxed Unicode text type.
IsList TextDefined in text-2.1.3 · Data.Text · orphanPerforms replacement on invalid scalar values:
:set -XOverloadedLists['\55555'] :: Text"\65533"
Eq TextDefined in text-2.1.3 · Data.Text · orphanData TextDefined in text-2.1.3 · Data.Text · orphanThis instance preserves data abstraction at the cost of inefficiency. We omit reflection services for the sake of data abstraction.
This instance was created by copying the updated behavior of
Data.Set.Set and Data.Map.Data.Map.Map. If you
feel a mistake has been made, please feel free to submit
improvements.
The original discussion is archived here: could we get a Data instance for Data.Text.Text?
The followup discussion that changed the behavior of Set
and Data.Map.Map is archived here:
Proposal: Allow gunfold for Data.Map, ...
Ord TextDefined in text-2.1.3 · Data.Text · orphanRead TextDefined in text-2.1.3 · Data.Text · orphanShow TextDefined in text-2.1.3 · Data.Text.Show · orphanIsString TextDefined in text-2.1.3 · Data.Text · orphanPerforms replacement on invalid scalar values:
:set -XOverloadedStrings"\55555" :: Text"\65533"
Semigroup TextDefined in text-2.1.3 · Data.Text · orphanBeware: stimes will crash if the given number does not fit into
an Int.
Monoid TextDefined in text-2.1.3 · Data.Text · orphanPrintfArg TextDefined in text-2.1.3 · Data.Text · orphanNFData TextDefined in text-2.1.3 · Data.Text · orphanBinary TextDefined in text-2.1.3 · Data.Text · orphanHashable TextDefined in hashable-1.4.7.0 · Data.Hashable.ClassFromJSON TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONFromJSONKey TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONToJSON TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONToJSONKey TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONFoldCase TextDefined in case-insensitive-1.2.1.0 · Data.CaseInsensitive.InternalPretty TextDefined in prettyprinter-1.7.1 · Prettyprinter.InternalChunk TextDefined in attoparsec-0.14.4 · Data.Attoparsec.Internal.TypesQueryKeyLike TextDefined in http-types-0.12.4 · Network.HTTP.Types.QueryLikeQueryValueLike TextDefined in http-types-0.12.4 · Network.HTTP.Types.QueryLikeSerialise TextDefined in serialise-0.2.6.1 · Codec.Serialise.ClassStream TextDefined in megaparsec-9.7.0 · Text.Megaparsec.StreamTraversableStream TextDefined in megaparsec-9.7.0 · Text.Megaparsec.StreamVisualStream TextDefined in megaparsec-9.7.0 · Text.Megaparsec.StreamFromDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.DecodeToDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.EncodeLift TextDefined in text-2.1.3 · Data.Text · orphanStrict Text TextDefined in strict-0.5.1 · Data.Strict.ClassesMonad m => Stream Text m CharDefined in parsec-3.1.18.0 · Text.Parsec.PrimMonadParsec Void Text ParserDefined in dhall-1.42.3 · Dhall.Parser.Combinatorsa ~ Text => IsString (Parser a)Defined in attoparsec-0.14.4 · Data.Attoparsec.Text.Internal · orphanStream (NoShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.StreamStream (ShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.Streamtype Item Text = CharDefined in text-2.1.3 · Data.Text · orphantype State Text = BufferDefined in attoparsec-0.14.4 · Data.Attoparsec.Internal.Typestype ChunkElem Text = CharDefined in attoparsec-0.14.4 · Data.Attoparsec.Internal.Typestype Token Text = Token (ShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.Streamtype Token (NoShareInput Text) = CharDefined in megaparsec-9.7.0 · Text.Megaparsec.Streamtype Token (ShareInput Text) = CharDefined in megaparsec-9.7.0 · Text.Megaparsec.Streamtype Tokens Text = Tokens (ShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.Streamtype Tokens (NoShareInput Text) = TextDefined in megaparsec-9.7.0 · Text.Megaparsec.Streamtype Tokens (ShareInput Text) = TextDefined in megaparsec-9.7.0 · Text.Megaparsec.StreamMonad VectorDefined in vector-0.13.2.0 · Data.VectorFunctor VectorDefined in vector-0.13.2.0 · Data.VectorMonadFix VectorDefined in vector-0.13.2.0 · Data.VectorMonadFail VectorDefined in vector-0.13.2.0 · Data.VectorApplicative VectorDefined in vector-0.13.2.0 · Data.VectorFoldable VectorDefined in vector-0.13.2.0 · Data.VectorTraversable VectorDefined in vector-0.13.2.0 · Data.VectorAlternative VectorDefined in vector-0.13.2.0 · Data.VectorMonadPlus VectorDefined in vector-0.13.2.0 · Data.VectorMonadZip VectorDefined in vector-0.13.2.0 · Data.VectorEq1 VectorDefined in vector-0.13.2.0 · Data.VectorOrd1 VectorDefined in vector-0.13.2.0 · Data.VectorRead1 VectorDefined in vector-0.13.2.0 · Data.VectorShow1 VectorDefined in vector-0.13.2.0 · Data.VectorNFData1 VectorDefined in vector-0.13.2.0 · Data.VectorAlign VectorDefined in semialign-1.3.1 · Data.Semialign.InternalSemialign VectorDefined in semialign-1.3.1 · Data.Semialign.InternalCrosswalk VectorDefined in semialign-1.3.1 · Data.CrosswalkUnzip VectorDefined in semialign-1.3.1 · Data.Semialign.InternalZip VectorDefined in semialign-1.3.1 · Data.Semialign.InternalFilterable VectorDefined in witherable-0.5 · WitherableWitherable VectorDefined in witherable-0.5 · WitherableFromJSON1 VectorDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONToJSON1 VectorDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONFoldableWithIndex Int VectorDefined in indexed-traversable-instances-0.1.2 · Data.Functor.WithIndex.Instances · orphanFunctorWithIndex Int VectorDefined in indexed-traversable-instances-0.1.2 · Data.Functor.WithIndex.Instances · orphanTraversableWithIndex Int VectorDefined in indexed-traversable-instances-0.1.2 · Data.Functor.WithIndex.Instances · orphanVector Vector aDefined in vector-0.13.2.0 · Data.VectorSemialignWithIndex Int VectorDefined in semialign-1.3.1 · Data.Semialign.InternalZipWithIndex Int VectorDefined in semialign-1.3.1 · Data.Semialign.InternalFilterableWithIndex Int VectorDefined in witherable-0.5 · WitherableWitherableWithIndex Int VectorDefined in witherable-0.5 · WitherableLift a => Lift (Vector a)Defined in th-lift-instances-0.1.20 · Instances.TH.Lift · orphanIsList (Vector a)Defined in vector-0.13.2.0 · Data.VectorEq a => Eq (Vector a)Defined in vector-0.13.2.0 · Data.VectorData a => Data (Vector a)Defined in vector-0.13.2.0 · Data.VectorOrd a => Ord (Vector a)Defined in vector-0.13.2.0 · Data.VectorRead a => Read (Vector a)Defined in vector-0.13.2.0 · Data.VectorShow a => Show (Vector a)Defined in vector-0.13.2.0 · Data.VectorSemigroup (Vector a)Defined in vector-0.13.2.0 · Data.VectorMonoid (Vector a)Defined in vector-0.13.2.0 · Data.VectorNFData a => NFData (Vector a)Defined in vector-0.13.2.0 · Data.VectorFromJSON a => FromJSON (Vector a)Defined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSONToJSON a => ToJSON (Vector a)Defined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSONSerialise a => Serialise (Vector a)Defined in serialise-0.2.6.1 · Codec.Serialise.ClassFromDhall a => FromDhall (Vector a)Defined in dhall-1.42.3 · Dhall.Marshal.DecodeToDhall a => ToDhall (Vector a)Defined in dhall-1.42.3 · Dhall.Marshal.Encodetype Item (Vector a) = aDefined in vector-0.13.2.0 · Data.Vectortype Mutable Vector = MVectorDefined in vector-0.13.2.0 · Data.VectorGeneric ValueDefined in aeson-2.2.3.0 · Data.Aeson.Types.InternalGeneric ShortByteStringDefined in bytestring-0.12.2.0 · Data.ByteString.Short.InternalGeneric SHA256DigestDefined in dhall-1.42.3 · Dhall.CryptoGeneric FilesystemEntryDefined in dhall-1.42.3 · Dhall.DirectoryTree.TypesGeneric GroupDefined in dhall-1.42.3 · Dhall.DirectoryTree.TypesGeneric UserDefined in dhall-1.42.3 · Dhall.DirectoryTree.TypesGeneric CharacterSetDefined in dhall-1.42.3 · Dhall.Pretty.InternalGeneric SrcDefined in dhall-1.42.3 · Dhall.SrcGeneric ConstDefined in dhall-1.42.3 · Dhall.Syntax.ConstGeneric DirectoryDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric FileDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric FilePrefixDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric ImportDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric ImportHashedDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric ImportModeDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric ImportTypeDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric SchemeDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric URLDefined in dhall-1.42.3 · Dhall.Syntax.ImportGeneric DhallDoubleDefined in dhall-1.42.3 · Dhall.Syntax.TypesGeneric PreferAnnotationDefined in dhall-1.42.3 · Dhall.Syntax.TypesGeneric WithComponentDefined in dhall-1.42.3 · Dhall.Syntax.TypesGeneric VarDefined in dhall-1.42.3 · Dhall.Syntax.VarGeneric ForeignSrcLangDefined in ghc-boot-th-9.10.3 · GHC.ForeignSrcLang.TypeGeneric ExtensionDefined in ghc-boot-th-9.10.3 · GHC.LanguageExtensions.TypeGeneric VoidDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric ByteOrderDefined in ghc-internal-9.1003.0 · GHC.Internal.ByteOrderGeneric ClosureTypeDefined in ghc-internal-9.1003.0 · GHC.Internal.ClosureTypesGeneric AllDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalGeneric AnyDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalGeneric VersionDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.VersionGeneric FingerprintDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric AssociativityDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric DecidedStrictnessDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric FixityDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric SourceStrictnessDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric SourceUnpackednessDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric ExitCodeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.ExceptionGeneric CCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric ConcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DebugFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DoCostCentresDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DoHeapProfileDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric DoTraceDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric GCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric GiveGCStatsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric HpcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric MiscFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric ParFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric ProfFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric RTSFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric TickyFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric TraceFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.FlagsGeneric SrcLocDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric GCDetailsDefined in ghc-internal-9.1003.0 · GHC.Internal.StatsGeneric RTSStatsDefined in ghc-internal-9.1003.0 · GHC.Internal.StatsGeneric GeneralCategoryDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric BoolDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric OrderingDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric HalfDefined in half-0.3.3 · Numeric.Half.InternalGeneric ByteRangeDefined in http-types-0.12.4 · Network.HTTP.Types.HeaderGeneric StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodGeneric StatusDefined in http-types-0.12.4 · Network.HTTP.Types.StatusGeneric HttpVersionDefined in http-types-0.12.4 · Network.HTTP.Types.VersionGeneric IPDefined in iproute-1.7.15 · Data.IP.AddrGeneric IPv4Defined in iproute-1.7.15 · Data.IP.AddrGeneric IPv6Defined in iproute-1.7.15 · Data.IP.AddrGeneric IPRangeDefined in iproute-1.7.15 · Data.IP.RangeGeneric InvalidPosExceptionDefined in megaparsec-9.7.0 · Text.Megaparsec.PosGeneric PosDefined in megaparsec-9.7.0 · Text.Megaparsec.PosGeneric SourcePosDefined in megaparsec-9.7.0 · Text.Megaparsec.PosGeneric URIDefined in network-uri-2.6.4.2 · Network.URIGeneric URIAuthDefined in network-uri-2.6.4.2 · Network.URIGeneric OsCharDefined in os-string-2.0.7 · System.OsString.Internal.TypesGeneric OsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesGeneric PosixCharDefined in os-string-2.0.7 · System.OsString.Internal.TypesGeneric PosixStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesGeneric WindowsCharDefined in os-string-2.0.7 · System.OsString.Internal.TypesGeneric WindowsStringDefined in os-string-2.0.7 · System.OsString.Internal.TypesGeneric ModeDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric StyleDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric TextDetailsDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric DocDefined in pretty-1.1.3.6 · Text.PrettyPrint.HughesPJGeneric ColorOptionsDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.ColorGeneric StyleDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.ColorGeneric ExprDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.ExprGeneric CheckColorTtyDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.PrinterGeneric OutputOptionsDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.PrinterGeneric StringOutputStyleDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.PrinterGeneric AnnLookupDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric AnnTargetDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric BangDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric BndrVisDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric BodyDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric BytesDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric CallconvDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ClauseDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ConDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric DecDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric DecidedStrictnessDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric DerivClauseDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric DerivStrategyDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric DocLocDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ExpDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric FamilyResultSigDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric FixityDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric FixityDirectionDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ForeignDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric FunDepDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric GuardDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric InfoDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric InjectivityAnnDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric InlineDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric LitDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric LocDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric MatchDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ModNameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ModuleDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ModuleInfoDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric NameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric NameFlavourDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric NameSpaceDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric NamespaceSpecifierDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric OccNameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric OverlapDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric PatDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric PatSynArgsDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric PatSynDirDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric PhasesDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric PkgNameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric PragmaDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric RangeDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric RoleDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric RuleBndrDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric RuleMatchDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric SafetyDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric SourceStrictnessDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric SourceUnpackednessDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric SpecificityDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric StmtDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric TyLitDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric TySynEqnDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric TypeDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric TypeFamilyHeadDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric ConstructorInfoDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.DatatypeGeneric ConstructorVariantDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.DatatypeGeneric DatatypeInfoDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.DatatypeGeneric DatatypeVariantDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.DatatypeGeneric FieldStrictnessDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.DatatypeGeneric StrictnessDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.DatatypeGeneric UnpackednessDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.DatatypeGeneric CalendarDiffDaysDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric DayDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric QuarterDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric UTCTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric UniversalTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric CalendarDiffTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric LocalTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric TimeOfDayDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric TimeZoneDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric ZonedTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphanGeneric GroupDefined in tls-2.1.6 · Network.TLS.Crypto.TypesGeneric CipherIdDefined in tls-2.1.6 · Network.TLS.Types.CipherGeneric SessionDataDefined in tls-2.1.6 · Network.TLS.Types.SessionGeneric SessionFlagDefined in tls-2.1.6 · Network.TLS.Types.SessionGeneric TLS13TicketInfoDefined in tls-2.1.6 · Network.TLS.Types.SessionGeneric VersionDefined in tls-2.1.6 · Network.TLS.Types.VersionGeneric UnixTimeDefined in unix-time-0.4.17 · Data.UnixTime.TypesGeneric CompressParamsDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.InternalGeneric DecompressErrorDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.InternalGeneric DecompressParamsDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.InternalGeneric CompressionLevelDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.StreamGeneric CompressionStrategyDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.StreamGeneric FormatDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.StreamGeneric MemoryLevelDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.StreamGeneric MethodDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.StreamGeneric WindowBitsDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.StreamGeneric ()Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Complex a)Defined in base-4.20.2.0 · Data.ComplexGeneric (First a)Defined in base-4.20.2.0 · Data.SemigroupGeneric (Last a)Defined in base-4.20.2.0 · Data.SemigroupGeneric (Max a)Defined in base-4.20.2.0 · Data.SemigroupGeneric (Min a)Defined in base-4.20.2.0 · Data.SemigroupGeneric (WrappedMonoid m)Defined in base-4.20.2.0 · Data.SemigroupGeneric (SCC vertex)Defined in containers-0.7 · Data.GraphGeneric (Digit a)Defined in containers-0.7 · Data.Sequence.InternalGeneric (Elem a)Defined in containers-0.7 · Data.Sequence.InternalGeneric (FingerTree a)Defined in containers-0.7 · Data.Sequence.InternalGeneric (Node a)Defined in containers-0.7 · Data.Sequence.InternalGeneric (ViewL a)Defined in containers-0.7 · Data.Sequence.InternalGeneric (ViewR a)Defined in containers-0.7 · Data.Sequence.InternalGeneric (Tree a)Defined in containers-0.7 · Data.TreeGeneric (Fix f)Defined in data-fix-0.3.4 · Data.FixGeneric (Access f)Defined in dhall-1.42.3 · Dhall.DirectoryTree.TypesGeneric (Entry a)Defined in dhall-1.42.3 · Dhall.DirectoryTree.TypesGeneric (Mode f)Defined in dhall-1.42.3 · Dhall.DirectoryTree.TypesGeneric (Keys a)Defined in dhall-1.42.3 · Dhall.MapGeneric (Set a)Defined in dhall-1.42.3 · Dhall.SetGeneric (FieldSelection s)Defined in dhall-1.42.3 · Dhall.Syntax.TypesGeneric (NonEmpty a)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Identity a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.IdentityGeneric (First a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.MonoidGeneric (Last a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.MonoidGeneric (Down a)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Dual a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Endo a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Product a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Sum a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalGeneric (ZipList a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Functor.ZipListGeneric (Par1 p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Maybe a)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (HistoriedResponse body)Defined in http-client-0.7.19 · Network.HTTP.ClientGeneric (AddrRange a)Defined in iproute-1.7.15 · Data.IP.RangeGeneric (ErrorFancy e)Defined in megaparsec-9.7.0 · Text.Megaparsec.ErrorGeneric (ErrorItem t)Defined in megaparsec-9.7.0 · Text.Megaparsec.ErrorGeneric (EF e)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error.BuilderGeneric (ET s)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error.BuilderGeneric (PosState s)Defined in megaparsec-9.7.0 · Text.Megaparsec.StateGeneric (Doc a)Defined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJGeneric (CommaSeparated a)Defined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.ExprGeneric (Doc ann)Defined in prettyprinter-1.7.1 · Prettyprinter.InternalGeneric (SimpleDocStream ann)Defined in prettyprinter-1.7.1 · Prettyprinter.InternalGeneric (SimpleDocTree ann)Defined in prettyprinter-1.7.1 · Prettyprinter.Render.Util.SimpleDocTreeGeneric (Maybe a)Defined in strict-0.5.1 · Data.Strict.MaybeGeneric (TyVarBndr flag)Defined in template-haskell-2.22.0.0 · Language.Haskell.TH.SyntaxGeneric (a)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric [a]Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (WrappedMonad m a)Defined in base-4.20.2.0 · Control.ApplicativeGeneric (Arg a b)Defined in base-4.20.2.0 · Data.SemigroupGeneric (ListN n a)Defined in basement-0.0.16 · Basement.Sized.ListGeneric (Map k v)Defined in dhall-1.42.3 · Dhall.MapGeneric (Binding s a)Defined in dhall-1.42.3 · Dhall.Syntax.BindingGeneric (Chunks s a)Defined in dhall-1.42.3 · Dhall.Syntax.ChunksGeneric (Expr s a)Defined in dhall-1.42.3 · Dhall.Syntax.ExprGeneric (FunctionBinding s a)Defined in dhall-1.42.3 · Dhall.Syntax.FunctionBindingGeneric (RecordField s a)Defined in dhall-1.42.3 · Dhall.Syntax.RecordFieldGeneric (Either a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Proxy t)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (U1 p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (V1 p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (IPRTable k a)Defined in iproute-1.7.15 · Data.IP.RouteTable.InternalGeneric (ParseError s e)Defined in megaparsec-9.7.0 · Text.Megaparsec.ErrorGeneric (ParseErrorBundle s e)Defined in megaparsec-9.7.0 · Text.Megaparsec.ErrorGeneric (State s e)Defined in megaparsec-9.7.0 · Text.Megaparsec.StateGeneric (Either a b)Defined in strict-0.5.1 · Data.Strict.EitherGeneric (These a b)Defined in strict-0.5.1 · Data.Strict.TheseGeneric (Pair a b)Defined in strict-0.5.1 · Data.Strict.TupleGeneric (These a b)Defined in these-1.2.1 · Data.TheseGeneric (Lift f a)Defined in transformers-0.6.1.1 · Control.Applicative.LiftGeneric (MaybeT m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.MaybeGeneric (a, b)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (WrappedArrow a b c)Defined in base-4.20.2.0 · Control.ApplicativeGeneric (Biap bi a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.BiapGeneric (Fix p a)Defined in bifunctors-5.6.2 · Data.Bifunctor.FixGeneric (Join p a)Defined in bifunctors-5.6.2 · Data.Bifunctor.JoinGeneric (Kleisli m a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Control.ArrowGeneric (Const a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.ConstGeneric (Ap f a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.MonoidGeneric (Alt f a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalGeneric (Rec1 f p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (URec Char p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (URec Double p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (URec Float p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (URec Int p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (URec Word p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (URec (Ptr ()) p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Tagged s b)Defined in tagged-0.8.9 · Data.TaggedGeneric (These1 f g a)Defined in these-1.2.1 · Data.Functor.TheseGeneric (Backwards f a)Defined in transformers-0.6.1.1 · Control.Applicative.BackwardsGeneric (AccumT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.AccumGeneric (ExceptT e m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.ExceptGeneric (IdentityT f a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.IdentityGeneric (ReaderT r m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.ReaderGeneric (SelectT r m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.SelectGeneric (StateT s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.State.LazyGeneric (StateT s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.State.StrictGeneric (WriterT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Writer.CPSGeneric (WriterT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Writer.LazyGeneric (WriterT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Writer.StrictGeneric (Constant a b)Defined in transformers-0.6.1.1 · Data.Functor.ConstantGeneric (Reverse f a)Defined in transformers-0.6.1.1 · Data.Functor.ReverseGeneric (a, b, c)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Product f g a)Defined in base-4.20.2.0 · Data.Functor.ProductGeneric (Sum f g a)Defined in base-4.20.2.0 · Data.Functor.SumGeneric (K1 i c p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (ContT r m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.ContGeneric ((:*:) f g p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric ((:+:) f g p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Compose f g a)Defined in base-4.20.2.0 · Data.Functor.ComposeGeneric (Clown f a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.ClownGeneric (Flip p a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.FlipGeneric (Joker g a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.JokerGeneric (WrappedBifunctor p a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.WrappedGeneric (M1 i c f p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (RWST r w s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.RWS.CPSGeneric (RWST r w s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.RWS.LazyGeneric (RWST r w s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.RWS.StrictGeneric ((:.:) f g p)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Product f g a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.ProductGeneric (Sum p q a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.SumGeneric (a, b, c, d, e, f)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Tannen f p a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.TannenGeneric (a, b, c, d, e, f, g)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (Biff p f g a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.BiffGeneric (a, b, c, d, e, f, g, h, i)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l, m)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l, m, n)Defined in ghc-internal-9.1003.0 · GHC.Internal.GenericsGeneric (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics