HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduledhall-1.42.3Haskell2010

Dhall.Marshal.Decode

Please read the Dhall.Tutorial module, which contains a tutorial explaining how to use the language, the compiler, and this library

  • 21 types
  • 4 classes
  • 60 values
  • Packagedhall-1.42.3
  • Exports85
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceDecode.hs

General

4 declarations
datadata Decoder a
#

A (Decoder a) represents a way to marshal a value of type 'a' from Dhall into Haskell.

You can produce Decoders either explicitly:

example :: Decoder (Vector Text)
example = vector text

... or implicitly using auto:

example :: Decoder (Vector Text)
example = auto

You can consume Decoders using the input function:

input :: Decoder a -> Text -> IO a

Constructors

Instances1Functor
classclass FromDhall a where
#

Any value that implements FromDhall can be automatically decoded based on the inferred return type of input.

Example2 expressions
input auto "[1, 2, 3]" :: IO (Vector Natural)[1,2,3]input auto "toMap { a = False, b = True }" :: IO (Map Text Bool)fromList [("a",False),("b",True)]

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 genericAutoWith/genericAutoWithInputNormalizer and custom InterpretOptions, or using DerivingVia and Codec from Dhall.Deriving.

Instances58FromDhall, …
  • FromDhall ByteStringDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall ByteStringDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall ShortByteStringDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall FilesystemEntryDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall GroupDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall UserDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall IntegerDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall NaturalDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall VoidDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall Int16Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall Int32Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall Int64Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall Int8Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall CGidDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types · orphan
  • FromDhall CUidDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types · orphan
  • FromDhall Word16Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall Word32Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall Word64Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall Word8Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall BoolDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall DoubleDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall IntDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall WordDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall ScientificDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall ShortTextDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall DayDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall DayOfWeekDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall UTCTimeDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall LocalTimeDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall TimeOfDayDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall TimeZoneDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall ZonedTimeDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall ()Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall (Access Identity)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall (Access Maybe)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall (Mode Identity)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall (Mode Maybe)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall (f (Result f)) => FromDhall (Result f)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall [Char]Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall a => FromDhall (Seq a)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall a => FromDhall (Entry a)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • FromDhall a => FromDhall (Identity a)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall a => FromDhall (Maybe a)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall a => FromDhall (Vector a)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • FromDhall a => FromDhall [a]Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • ToDhall x => FromDhall (Equivalence x)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • ToDhall x => FromDhall (Predicate x)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • (FromDhall a, Ord a, Show a) => FromDhall (Set a)Defined in dhall-1.42.3 · Dhall.Marshal.Decode

    Note that this instance will throw errors in the presence of duplicates in the list. To ignore duplicates, use setIgnoringDuplicates.

  • (FromDhall a, Hashable a, Ord a, Show a) => FromDhall (HashSet a)Defined in dhall-1.42.3 · Dhall.Marshal.Decode

    Note that this instance will throw errors in the presence of duplicates in the list. To ignore duplicates, use hashSetIgnoringDuplicates.

  • (Functor f, FromDhall (f (Result f))) => FromDhall (Fix f)Defined in dhall-1.42.3 · Dhall.Marshal.Decode

    You can use this instance to marshal recursive types from Dhall to Haskell.

    Here is an example use of this instance:

    {-# LANGUAGE DeriveAnyClass     #-}
    {-# LANGUAGE DeriveFoldable     #-}
    {-# LANGUAGE DeriveFunctor      #-}
    {-# LANGUAGE DeriveTraversable  #-}
    {-# LANGUAGE DeriveGeneric      #-}
    {-# LANGUAGE KindSignatures     #-}
    {-# LANGUAGE QuasiQuotes        #-}
    {-# LANGUAGE StandaloneDeriving #-}
    {-# LANGUAGE TypeFamilies       #-}
    {-# LANGUAGE TemplateHaskell    #-}
    
    import Data.Fix (Fix(..))
    import Data.Text (Text)
    import Dhall (FromDhall)
    import GHC.Generics (Generic)
    import Numeric.Natural (Natural)
    
    import qualified Data.Fix                 as Fix
    import qualified Data.Functor.Foldable    as Foldable
    import qualified Data.Functor.Foldable.TH as TH
    import qualified Dhall
    import qualified NeatInterpolation
    
    data Expr
        = Lit Natural
        | Add Expr Expr
        | Mul Expr Expr
        deriving (Show)
    
    TH.makeBaseFunctor ''Expr
    
    deriving instance Generic (ExprF a)
    deriving instance FromDhall a => FromDhall (ExprF a)
    
    example :: Text
    example = [NeatInterpolation.text|
        \(Expr : Type)
    ->  let ExprF =
              < LitF :
                  Natural
              | AddF :
                  { _1 : Expr, _2 : Expr }
              | MulF :
                  { _1 : Expr, _2 : Expr }
              >
    
        in      \(Fix : ExprF -> Expr)
            ->  let Lit = \(x : Natural) -> Fix (ExprF.LitF x)
    
                let Add =
                          \(x : Expr)
                      ->  \(y : Expr)
                      ->  Fix (ExprF.AddF { _1 = x, _2 = y })
    
                let Mul =
                          \(x : Expr)
                      ->  \(y : Expr)
                      ->  Fix (ExprF.MulF { _1 = x, _2 = y })
    
                in  Add (Mul (Lit 3) (Lit 7)) (Add (Lit 1) (Lit 2))
    |]
    
    convert :: Fix ExprF -> Expr
    convert = Fix.foldFix Foldable.embed
    
    main :: IO ()
    main = do
        x <- Dhall.input Dhall.auto example :: IO (Fix ExprF)
    
        print (convert x :: Expr)
  • (FromDhall a, FromDhall b) => FromDhall (a, b)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • (FromDhall b, ToDhall x) => FromDhall (Op b x)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • (ToDhall a, FromDhall b) => FromDhall (a -> b)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • (Eq k, Hashable k, FromDhall k, FromDhall v) => FromDhall (HashMap k v)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • (Ord k, FromDhall k, FromDhall v) => FromDhall (Map k v)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • (Generic a, GenericFromDhall a (Rep a), ModifyOptions tag) => FromDhall (Codec tag a)Defined in dhall-1.42.3 · Dhall.Deriving
valueauto :: FromDhall a => Decoder a
#

Use the default input normalizer for interpreting an input.

auto = autoWith defaultInputNormalizer

Building decoders

0 declarations

Simple decoders

valueunit :: Decoder ()
#

Decode () from an empty record.

Example1 expression
input unit "{=}"  -- GHC doesn't print the result if it is ()

Numbers

valueword :: Decoder Word
#

Decode a Word from a Dhall Natural.

Example1 expression
input word "42"42
valueint :: Decoder Int
#

Decode an Int from a Dhall Integer.

Example1 expression
input int "-42"-42
valueint8 :: Decoder Int8
#

Decode an Int8 from a Dhall Integer.

Example1 expression
input int8 "-42"-42

Bytes

Textual

Time

valueday :: Decoder Day
#

Decode Day

Example1 expression
input day "2000-01-01"2000-01-01

Decode DayOfWeek

Example1 expression
input dayOfWeek "< Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday >.Monday"Monday

Containers

valuepair :: Decoder a -> Decoder b -> Decoder (a, b)
#

Given a pair of Decoders, decode a tuple-record into their pairing.

Example1 expression
input (pair natural bool) "{ _1 = 42, _2 = False }"(42,False)
valuelist :: Decoder a -> Decoder [a]
#

Decode a list.

Example1 expression
input (list natural) "[1, 2, 3]"[1,2,3]
valuesetFromDistinctList :: (Ord a, Show a) => Decoder a -> Decoder (Set a)
#

Decode a Set from a List with distinct elements.

Example1 expression
input (setFromDistinctList natural) "[1, 2, 3]"fromList [1,2,3]

An error is thrown if the list contains duplicates.

>>> input (setFromDistinctList natural) "[1, 1, 3]"
*** Exception: Error: Failed extraction

The expression type-checked successfully but the transformation to the target
type failed with the following error:

One duplicate element in the list: 1
>>> input (setFromDistinctList natural) "[1, 1, 3, 3]"
*** Exception: Error: Failed extraction

The expression type-checked successfully but the transformation to the target
type failed with the following error:

2 duplicates were found in the list, including 1
valuesetIgnoringDuplicates :: Ord a => Decoder a -> Decoder (Set a)
#

Decode a Set from a List.

Example1 expression
input (setIgnoringDuplicates natural) "[1, 2, 3]"fromList [1,2,3]

Duplicate elements are ignored.

Example1 expression
input (setIgnoringDuplicates natural) "[1, 1, 3]"fromList [1,3]

Decode a HashSet from a List with distinct elements.

Example1 expression
input (hashSetFromDistinctList natural) "[1, 2, 3]"fromList [1,2,3]

An error is thrown if the list contains duplicates.

>>> input (hashSetFromDistinctList natural) "[1, 1, 3]"
*** Exception: Error: Failed extraction

The expression type-checked successfully but the transformation to the target
type failed with the following error:

One duplicate element in the list: 1
>>> input (hashSetFromDistinctList natural) "[1, 1, 3, 3]"
*** Exception: Error: Failed extraction

The expression type-checked successfully but the transformation to the target
type failed with the following error:

2 duplicates were found in the list, including 1
valuemap :: Ord k => Decoder k -> Decoder v -> Decoder (Map k v)
#

Decode a Map from a toMap expression or generally a Prelude.Map.Type.

Example2 expressions
input (Dhall.map strictText bool) "toMap { a = True, b = False }"fromList [("a",True),("b",False)]input (Dhall.map strictText bool) "[ { mapKey = \"foo\", mapValue = True } ]"fromList [("foo",True)]

If there are duplicate mapKeys, later mapValues take precedence:

Example2 expressions
let expr = "[ { mapKey = 1, mapValue = True }, { mapKey = 1, mapValue = False } ]"input (Dhall.map natural bool) exprfromList [(1,False)]
valuehashMap
  1. :: (Eq k, Hashable k)
  2. => Decoder k
  3. -> Decoder v
  4. -> Decoder (HashMap k v)
#

Decode a HashMap from a toMap expression or generally a Prelude.Map.Type.

Example2 expressions
fmap (List.sort . HashMap.toList) (input (Dhall.hashMap strictText bool) "toMap { a = True, b = False }")[("a",True),("b",False)]fmap (List.sort . HashMap.toList) (input (Dhall.hashMap strictText bool) "[ { mapKey = \"foo\", mapValue = True } ]")[("foo",True)]

If there are duplicate mapKeys, later mapValues take precedence:

Example2 expressions
let expr = "[ { mapKey = 1, mapValue = True }, { mapKey = 1, mapValue = False } ]"input (Dhall.hashMap natural bool) exprfromList [(1,False)]
valuepairFromMapEntry :: Decoder k -> Decoder v -> Decoder (k, v)
#

Decode a tuple from a Prelude.Map.Entry record.

Example1 expression
input (pairFromMapEntry strictText natural) "{ mapKey = \"foo\", mapValue = 3 }"("foo",3)

Functions

valuefunction :: Encoder a -> Decoder b -> Decoder (a -> b)
#

Decode a Dhall function into a Haskell function.

Example3 expressions
f <- input (function inject bool) "Natural/even" :: IO (Natural -> Bool)f 0Truef 1False
valuefunctionWith
  1. :: InputNormalizer
  2. -> Encoder a
  3. -> Decoder b
  4. -> Decoder (a -> b)
#

Decode a Dhall function into a Haskell function using the specified normalizer.

Example3 expressions
f <- input (functionWith defaultInputNormalizer inject bool) "Natural/even" :: IO (Natural -> Bool)f 0Truef 1False

Records

newtypenewtype RecordDecoder a
#

The RecordDecoder applicative functor allows you to build a Decoder from a Dhall record.

For example, let's take the following Haskell data type:

Example1 expression
:{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 decoder has type Decoder Project, but we can't build that out of any smaller decoders, as Decoders cannot be combined (they are only Functors). However, we can use a RecordDecoder to build a Decoder for Project:

Example1 expression
:{project :: Decoder Projectproject =  record    ( Project <$> field "name" strictText              <*> field "description" strictText              <*> field "stars" natural    ):}
Instances2Functor, Applicative

Unions

newtypenewtype UnionDecoder a
#

The UnionDecoder monoid allows you to build a Decoder from a Dhall union.

For example, let's take the following Haskell data type:

Example1 expression
:{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 decoder has type Decoder Status, but we can't build that out of any smaller decoders, as Decoders cannot be combined (they are only Functors). However, we can use a UnionDecoder to build a Decoder for Status:

Example1 expression
:{status :: Decoder Statusstatus = union  (  ( Queued  <$> constructor "Queued"  natural )  <> ( Result  <$> constructor "Result"  strictText )  <> ( Errored <$> constructor "Errored" strictText )  ):}

Constructors

Instances3Functor, Semigroup, Monoid

Generic decoding

5 declarations
classclass GenericFromDhall (t :: k) (f :: k1 -> Type) where
#

This is the underlying class that powers the FromDhall class's support for automatically deriving a generic implementation.

Instances13GenericFromDhall, …
classclass GenericFromDhallUnion (t :: k) (f :: k1 -> Type) where
#

This is the underlying class that powers the FromDhall class's support for automatically deriving a generic implementation for a union type.

Instances2GenericFromDhallUnion

Decoding errors

3 declarations
newtypenewtype DhallErrors e
#

A newtype suitable for collecting one or more errors.

Instances6Functor, Eq, Semigroup, Exception, Show
datadata InvalidDecoder s a
#

Every Decoder must obey the contract that if an expression's type matches the expected type then the extract function must not fail with a type error. However, decoding may still fail for other reasons (such as the decoder for Data.Map.Sets rejecting a Dhall List with duplicate elements).

This error type is used to indicate an internal error in the implementation of a Decoder where the expected type matched the Dhall expression, but the expression supplied to the extraction function did not match the expected type. If this happens that means that the Decoder itself needs to be fixed.

Instances3Eq, Show, Exception

Extraction errors

datadata ExtractError s a
#

Extraction of a value can fail for two reasons, either a type mismatch (which should not happen, as expressions are type-checked against the expected type before being passed to extract), or a term-level error, described with a freeform text value.

Instances4Eq, Show, Exception
valuetypeError :: Expector (Expr s a) -> Expr s a -> Extractor s a b
#

Generate a type error during extraction by specifying the expected type and the actual type. The expected type is not yet determined.

valuetoMonadic :: Extractor s a b -> MonadicExtractor s a b
#

Switches from an Applicative extraction result, able to accumulate errors, to a Monad extraction result, able to chain sequential operations.

valuefromMonadic :: MonadicExtractor s a b -> Extractor s a b
#

Switches from a Monad extraction result, able to chain sequential errors, to an Applicative extraction result, able to accumulate errors.

Typing errors

Miscellaneous

6 declarations
datadata InterpretOptions
#

Use these options to tweak how Dhall derives a generic implementation of FromDhall.

Constructors

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 Double

Depending 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 >           -- Smart

Constructors

  • Bare

    Never wrap the field in a record

  • Wrapped

    Always wrap the field in a record

  • Smart

    Only fields in a record if they are named

Instances1ModifyOptions

Default interpret options for generics-based instances, which you can tweak or override, like this:

genericAutoWith
    (defaultInterpretOptions { fieldModifier = Data.Text.Lazy.dropWhile (== '_') })

Re-exports

5 declarations
datadata Natural
#

Natural number

Invariant: numbers <= 0xffffffffffffffff use the NS constructor

Instances45Enum, Eq, Data, Num, Ord, Read, …
newtypenewtype Seq a
#

General-purpose finite sequences.

Instances64Monad, Functor, MonadFix, Applicative, Foldable, Traversable, …
  • Monad SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Functor SeqDefined in containers-0.7 · Data.Sequence.Internal
  • MonadFix SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Applicative SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Foldable SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Traversable SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Alternative SeqDefined in containers-0.7 · Data.Sequence.Internal
  • MonadPlus SeqDefined in containers-0.7 · Data.Sequence.Internal
  • MonadZip SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Eq1 SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Ord1 SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Read1 SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Show1 SeqDefined in containers-0.7 · Data.Sequence.Internal
  • UnzipWith SeqDefined in containers-0.7 · Data.Sequence.Internal
  • Arbitrary1 SeqDefined in QuickCheck-2.15.0.1 · Test.QuickCheck.Arbitrary
  • Hashable1 SeqDefined in hashable-1.4.7.0 · Data.Hashable.Class
  • Alt SeqDefined in semigroupoids-6.0.1 · Data.Functor.Alt
  • Apply SeqDefined in semigroupoids-6.0.1 · Data.Functor.Bind.Class
  • Bind SeqDefined in semigroupoids-6.0.1 · Data.Functor.Bind.Class
  • Extend SeqDefined in semigroupoids-6.0.1 · Data.Functor.Extend
  • Plus SeqDefined in semigroupoids-6.0.1 · Data.Functor.Plus
  • Align SeqDefined in semialign-1.3.1 · Data.Semialign.Internal
  • Semialign SeqDefined in semialign-1.3.1 · Data.Semialign.Internal
  • Crosswalk SeqDefined in semialign-1.3.1 · Data.Crosswalk
  • Unzip SeqDefined in semialign-1.3.1 · Data.Semialign.Internal
  • Zip SeqDefined in semialign-1.3.1 · Data.Semialign.Internal
  • Filterable SeqDefined in witherable-0.5 · Witherable
  • Witherable SeqDefined in witherable-0.5 · Witherable
  • FromJSON1 SeqDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSON
  • ToJSON1 SeqDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSON
  • FoldableWithIndex Int SeqDefined in indexed-traversable-0.1.4 · WithIndex
  • FunctorWithIndex Int SeqDefined in indexed-traversable-0.1.4 · WithIndex

    The position in the Seq is available as the index.

  • TraversableWithIndex Int SeqDefined in indexed-traversable-0.1.4 · WithIndex
  • SemialignWithIndex Int SeqDefined in semialign-1.3.1 · Data.Semialign.Internal
  • ZipWithIndex Int SeqDefined in semialign-1.3.1 · Data.Semialign.Internal
  • FilterableWithIndex Int SeqDefined in witherable-0.5 · Witherable
  • WitherableWithIndex Int SeqDefined in witherable-0.5 · Witherable
  • Lift a => Lift (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • IsList (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Eq a => Eq (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Data a => Data (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Ord a => Ord (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Read a => Read (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Show a => Show (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • a ~ Char => IsString (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Semigroup (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Monoid (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • NFData a => NFData (Seq a)Defined in containers-0.7 · Data.Sequence.Internal
  • Arbitrary a => Arbitrary (Seq a)Defined in QuickCheck-2.15.0.1 · Test.QuickCheck.Arbitrary

    WARNING: The same warning as for Arbitrary (Set a) applies here.

  • CoArbitrary a => CoArbitrary (Seq a)Defined in QuickCheck-2.15.0.1 · Test.QuickCheck.Arbitrary
  • Function a => Function (Seq a)Defined in QuickCheck-2.15.0.1 · Test.QuickCheck.Function
  • Binary e => Binary (Seq e)Defined in binary-0.8.9.3 · Data.Binary.Class
  • Hashable v => Hashable (Seq v)Defined in hashable-1.4.7.0 · Data.Hashable.Class
  • FromJSON a => FromJSON (Seq a)Defined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSON
  • ToJSON a => ToJSON (Seq a)Defined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSON
  • Serialize e => Serialize (Seq e)Defined in cereal-0.5.8.3 · Data.Serialize
  • Default (Seq a)Defined in data-default-0.8.0.1 · Data.Default.Internal
  • Serialise a => Serialise (Seq a)Defined in serialise-0.2.6.1 · Codec.Serialise.Class
  • Ord a => Stream (Seq a)Defined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • FromDhall a => FromDhall (Seq a)Defined in dhall-1.42.3 · Dhall.Marshal.Decode
  • ToDhall a => ToDhall (Seq a)Defined in dhall-1.42.3 · Dhall.Marshal.Encode
  • type Item (Seq a) = aDefined in containers-0.7 · Data.Sequence.Internal
  • type Token (Seq a) = aDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • type Tokens (Seq a) = Seq aDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
datadata Text
#

A space efficient, packed, unboxed Unicode text type.

Instances44IsList, Eq, Data, Ord, Read, Show, …
  • IsList TextDefined in text-2.1.3 · Data.Text · orphan

    Performs replacement on invalid scalar values:

    Example2 expressions
    :set -XOverloadedLists['\55555'] :: Text"\65533"
  • Eq TextDefined in text-2.1.3 · Data.Text · orphan
  • Data TextDefined in text-2.1.3 · Data.Text · orphan

    This 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 · orphan
  • Read TextDefined in text-2.1.3 · Data.Text · orphan
  • Show TextDefined in text-2.1.3 · Data.Text.Show · orphan
  • IsString TextDefined in text-2.1.3 · Data.Text · orphan

    Performs replacement on invalid scalar values:

    Example2 expressions
    :set -XOverloadedStrings"\55555" :: Text"\65533"
  • Semigroup TextDefined in text-2.1.3 · Data.Text · orphan

    Beware: stimes will crash if the given number does not fit into an Int.

  • Monoid TextDefined in text-2.1.3 · Data.Text · orphan
  • PrintfArg TextDefined in text-2.1.3 · Data.Text · orphan
  • NFData TextDefined in text-2.1.3 · Data.Text · orphan
  • Binary TextDefined in text-2.1.3 · Data.Text · orphan
  • Hashable TextDefined in hashable-1.4.7.0 · Data.Hashable.Class
  • FromJSON TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSON
  • FromJSONKey TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.FromJSON
  • ToJSON TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSON
  • ToJSONKey TextDefined in aeson-2.2.3.0 · Data.Aeson.Types.ToJSON
  • FoldCase TextDefined in case-insensitive-1.2.1.0 · Data.CaseInsensitive.Internal
  • Pretty TextDefined in prettyprinter-1.7.1 · Prettyprinter.Internal

    Automatically converts all newlines to line.

    Example1 expression
    pretty ("hello\nworld" :: Text)helloworld

    Note that line can be undone by group:

    Example1 expression
    group (pretty ("hello\nworld" :: Text))hello world

    Manually use hardline if you definitely want newlines.

  • Chunk TextDefined in attoparsec-0.14.4 · Data.Attoparsec.Internal.Types
  • QueryKeyLike TextDefined in http-types-0.12.4 · Network.HTTP.Types.QueryLike
  • QueryValueLike TextDefined in http-types-0.12.4 · Network.HTTP.Types.QueryLike
  • Serialise TextDefined in serialise-0.2.6.1 · Codec.Serialise.Class
  • Stream TextDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • TraversableStream TextDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • VisualStream TextDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • FromDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.Decode
  • ToDhall TextDefined in dhall-1.42.3 · Dhall.Marshal.Encode
  • Lift TextDefined in text-2.1.3 · Data.Text · orphan
  • Strict Text TextDefined in strict-0.5.1 · Data.Strict.Classes
  • Monad m => Stream Text m CharDefined in parsec-3.1.18.0 · Text.Parsec.Prim
  • MonadParsec Void Text ParserDefined in dhall-1.42.3 · Dhall.Parser.Combinators
  • a ~ Text => IsString (Parser a)Defined in attoparsec-0.14.4 · Data.Attoparsec.Text.Internal · orphan
  • Stream (NoShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • Stream (ShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • type Item Text = CharDefined in text-2.1.3 · Data.Text · orphan
  • type State Text = BufferDefined in attoparsec-0.14.4 · Data.Attoparsec.Internal.Types
  • type ChunkElem Text = CharDefined in attoparsec-0.14.4 · Data.Attoparsec.Internal.Types
  • type Token Text = Token (ShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • type Token (NoShareInput Text) = CharDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • type Token (ShareInput Text) = CharDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • type Tokens Text = Tokens (ShareInput Text)Defined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • type Tokens (NoShareInput Text) = TextDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
  • type Tokens (ShareInput Text) = TextDefined in megaparsec-9.7.0 · Text.Megaparsec.Stream
datadata Vector a
#
Instances49Monad, Functor, MonadFix, MonadFail, Applicative, Foldable, …
classclass Generic a where
#

Representable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.

A Generic instance must satisfy the following laws:

from . to ≡ Prelude.id
to . from ≡ Prelude.id
Instances313Generic, …
  • Generic ValueDefined in aeson-2.2.3.0 · Data.Aeson.Types.Internal
  • Generic ShortByteStringDefined in bytestring-0.12.2.0 · Data.ByteString.Short.Internal
  • Generic SHA256DigestDefined in dhall-1.42.3 · Dhall.Crypto
  • Generic FilesystemEntryDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • Generic GroupDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • Generic UserDefined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • Generic CharacterSetDefined in dhall-1.42.3 · Dhall.Pretty.Internal
  • Generic SrcDefined in dhall-1.42.3 · Dhall.Src
  • Generic ConstDefined in dhall-1.42.3 · Dhall.Syntax.Const
  • Generic DirectoryDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic FileDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic FilePrefixDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic ImportDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic ImportHashedDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic ImportModeDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic ImportTypeDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic SchemeDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic URLDefined in dhall-1.42.3 · Dhall.Syntax.Import
  • Generic DhallDoubleDefined in dhall-1.42.3 · Dhall.Syntax.Types
  • Generic PreferAnnotationDefined in dhall-1.42.3 · Dhall.Syntax.Types
  • Generic WithComponentDefined in dhall-1.42.3 · Dhall.Syntax.Types
  • Generic VarDefined in dhall-1.42.3 · Dhall.Syntax.Var
  • Generic ForeignSrcLangDefined in ghc-boot-th-9.10.3 · GHC.ForeignSrcLang.Type
  • Generic ExtensionDefined in ghc-boot-th-9.10.3 · GHC.LanguageExtensions.Type
  • Generic VoidDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic ByteOrderDefined in ghc-internal-9.1003.0 · GHC.Internal.ByteOrder
  • Generic ClosureTypeDefined in ghc-internal-9.1003.0 · GHC.Internal.ClosureTypes
  • Generic AllDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.Internal
  • Generic AnyDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.Internal
  • Generic VersionDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Version
  • Generic FingerprintDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic AssociativityDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic DecidedStrictnessDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic FixityDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic SourceStrictnessDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic SourceUnpackednessDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic ExitCodeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Exception
  • Generic CCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic ConcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic DebugFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic DoCostCentresDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic DoHeapProfileDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic DoTraceDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic GCFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic GiveGCStatsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic HpcFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic MiscFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic ParFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic ProfFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic RTSFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic TickyFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic TraceFlagsDefined in ghc-internal-9.1003.0 · GHC.Internal.RTS.Flags
  • Generic SrcLocDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic GCDetailsDefined in ghc-internal-9.1003.0 · GHC.Internal.Stats
  • Generic RTSStatsDefined in ghc-internal-9.1003.0 · GHC.Internal.Stats
  • Generic GeneralCategoryDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic BoolDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic OrderingDefined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic HalfDefined in half-0.3.3 · Numeric.Half.Internal
  • Generic ByteRangeDefined in http-types-0.12.4 · Network.HTTP.Types.Header
  • Generic StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.Method
  • Generic StatusDefined in http-types-0.12.4 · Network.HTTP.Types.Status
  • Generic HttpVersionDefined in http-types-0.12.4 · Network.HTTP.Types.Version
  • Generic IPDefined in iproute-1.7.15 · Data.IP.Addr
  • Generic IPv4Defined in iproute-1.7.15 · Data.IP.Addr
  • Generic IPv6Defined in iproute-1.7.15 · Data.IP.Addr
  • Generic IPRangeDefined in iproute-1.7.15 · Data.IP.Range
  • Generic InvalidPosExceptionDefined in megaparsec-9.7.0 · Text.Megaparsec.Pos
  • Generic PosDefined in megaparsec-9.7.0 · Text.Megaparsec.Pos
  • Generic SourcePosDefined in megaparsec-9.7.0 · Text.Megaparsec.Pos
  • Generic URIDefined in network-uri-2.6.4.2 · Network.URI
  • Generic URIAuthDefined in network-uri-2.6.4.2 · Network.URI
  • Generic OsCharDefined in os-string-2.0.7 · System.OsString.Internal.Types
  • Generic OsStringDefined in os-string-2.0.7 · System.OsString.Internal.Types
  • Generic PosixCharDefined in os-string-2.0.7 · System.OsString.Internal.Types
  • Generic PosixStringDefined in os-string-2.0.7 · System.OsString.Internal.Types
  • Generic WindowsCharDefined in os-string-2.0.7 · System.OsString.Internal.Types
  • Generic WindowsStringDefined in os-string-2.0.7 · System.OsString.Internal.Types
  • Generic ModeDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJ
  • Generic StyleDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJ
  • Generic TextDetailsDefined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJ
  • Generic DocDefined in pretty-1.1.3.6 · Text.PrettyPrint.HughesPJ
  • Generic ColorOptionsDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.Color
  • Generic StyleDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.Color
  • Generic ExprDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.Expr
  • Generic CheckColorTtyDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.Printer
  • Generic OutputOptionsDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.Printer
  • Generic StringOutputStyleDefined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.Printer
  • Generic AnnLookupDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic AnnTargetDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic BangDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic BndrVisDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic BodyDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic BytesDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic CallconvDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ClauseDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ConDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic DecDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic DecidedStrictnessDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic DerivClauseDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic DerivStrategyDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic DocLocDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ExpDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic FamilyResultSigDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic FixityDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic FixityDirectionDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ForeignDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic FunDepDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic GuardDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic InfoDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic InjectivityAnnDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic InlineDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic LitDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic LocDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic MatchDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ModNameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ModuleDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ModuleInfoDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic NameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic NameFlavourDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic NameSpaceDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic NamespaceSpecifierDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic OccNameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic OverlapDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic PatDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic PatSynArgsDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic PatSynDirDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic PhasesDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic PkgNameDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic PragmaDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic RangeDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic RoleDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic RuleBndrDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic RuleMatchDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic SafetyDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic SourceStrictnessDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic SourceUnpackednessDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic SpecificityDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic StmtDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic TyLitDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic TySynEqnDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic TypeDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic TypeFamilyHeadDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic ConstructorInfoDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.Datatype
  • Generic ConstructorVariantDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.Datatype
  • Generic DatatypeInfoDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.Datatype
  • Generic DatatypeVariantDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.Datatype
  • Generic FieldStrictnessDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.Datatype
  • Generic StrictnessDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.Datatype
  • Generic UnpackednessDefined in th-abstraction-0.7.1.0 · Language.Haskell.TH.Datatype
  • Generic CalendarDiffDaysDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic DayDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic QuarterDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic UTCTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic UniversalTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic CalendarDiffTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic LocalTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic TimeOfDayDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic TimeZoneDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic ZonedTimeDefined in time-compat-1.9.8 · Data.Time.Orphans · orphan
  • Generic GroupDefined in tls-2.1.6 · Network.TLS.Crypto.Types
  • Generic CipherIdDefined in tls-2.1.6 · Network.TLS.Types.Cipher
  • Generic SessionDataDefined in tls-2.1.6 · Network.TLS.Types.Session
  • Generic SessionFlagDefined in tls-2.1.6 · Network.TLS.Types.Session
  • Generic TLS13TicketInfoDefined in tls-2.1.6 · Network.TLS.Types.Session
  • Generic VersionDefined in tls-2.1.6 · Network.TLS.Types.Version
  • Generic UnixTimeDefined in unix-time-0.4.17 · Data.UnixTime.Types
  • Generic CompressParamsDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Internal
  • Generic DecompressErrorDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Internal
  • Generic DecompressParamsDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Internal
  • Generic CompressionLevelDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Stream
  • Generic CompressionStrategyDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Stream
  • Generic FormatDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Stream
  • Generic MemoryLevelDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Stream
  • Generic MethodDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Stream
  • Generic WindowBitsDefined in zlib-0.7.1.0 · Codec.Compression.Zlib.Stream
  • Generic ()Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Complex a)Defined in base-4.20.2.0 · Data.Complex
  • Generic (First a)Defined in base-4.20.2.0 · Data.Semigroup
  • Generic (Last a)Defined in base-4.20.2.0 · Data.Semigroup
  • Generic (Max a)Defined in base-4.20.2.0 · Data.Semigroup
  • Generic (Min a)Defined in base-4.20.2.0 · Data.Semigroup
  • Generic (WrappedMonoid m)Defined in base-4.20.2.0 · Data.Semigroup
  • Generic (SCC vertex)Defined in containers-0.7 · Data.Graph
  • Generic (Digit a)Defined in containers-0.7 · Data.Sequence.Internal
  • Generic (Elem a)Defined in containers-0.7 · Data.Sequence.Internal
  • Generic (FingerTree a)Defined in containers-0.7 · Data.Sequence.Internal
  • Generic (Node a)Defined in containers-0.7 · Data.Sequence.Internal
  • Generic (ViewL a)Defined in containers-0.7 · Data.Sequence.Internal
  • Generic (ViewR a)Defined in containers-0.7 · Data.Sequence.Internal
  • Generic (Tree a)Defined in containers-0.7 · Data.Tree
  • Generic (Fix f)Defined in data-fix-0.3.4 · Data.Fix
  • Generic (Access f)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • Generic (Entry a)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • Generic (Mode f)Defined in dhall-1.42.3 · Dhall.DirectoryTree.Types
  • Generic (Keys a)Defined in dhall-1.42.3 · Dhall.Map
  • Generic (Set a)Defined in dhall-1.42.3 · Dhall.Set
  • Generic (FieldSelection s)Defined in dhall-1.42.3 · Dhall.Syntax.Types
  • Generic (NonEmpty a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Identity a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.Identity
  • Generic (First a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Monoid
  • Generic (Last a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Monoid
  • Generic (Down a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Dual a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.Internal
  • Generic (Endo a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.Internal
  • Generic (Product a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.Internal
  • Generic (Sum a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.Internal
  • Generic (ZipList a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Functor.ZipList
  • Generic (Par1 p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Maybe a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (HistoriedResponse body)Defined in http-client-0.7.19 · Network.HTTP.Client
  • Generic (AddrRange a)Defined in iproute-1.7.15 · Data.IP.Range
  • Generic (ErrorFancy e)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error
  • Generic (ErrorItem t)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error
  • Generic (EF e)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error.Builder
  • Generic (ET s)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error.Builder
  • Generic (PosState s)Defined in megaparsec-9.7.0 · Text.Megaparsec.State
  • Generic (Doc a)Defined in pretty-1.1.3.6 · Text.PrettyPrint.Annotated.HughesPJ
  • Generic (CommaSeparated a)Defined in pretty-simple-4.1.3.0 · Text.Pretty.Simple.Internal.Expr
  • Generic (Doc ann)Defined in prettyprinter-1.7.1 · Prettyprinter.Internal
  • Generic (SimpleDocStream ann)Defined in prettyprinter-1.7.1 · Prettyprinter.Internal
  • Generic (SimpleDocTree ann)Defined in prettyprinter-1.7.1 · Prettyprinter.Render.Util.SimpleDocTree
  • Generic (Maybe a)Defined in strict-0.5.1 · Data.Strict.Maybe
  • Generic (TyVarBndr flag)Defined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntax
  • Generic (a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic [a]Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (WrappedMonad m a)Defined in base-4.20.2.0 · Control.Applicative
  • Generic (Arg a b)Defined in base-4.20.2.0 · Data.Semigroup
  • Generic (ListN n a)Defined in basement-0.0.16 · Basement.Sized.List
  • Generic (Map k v)Defined in dhall-1.42.3 · Dhall.Map
  • Generic (Binding s a)Defined in dhall-1.42.3 · Dhall.Syntax.Binding
  • Generic (Chunks s a)Defined in dhall-1.42.3 · Dhall.Syntax.Chunks
  • Generic (Expr s a)Defined in dhall-1.42.3 · Dhall.Syntax.Expr
  • Generic (FunctionBinding s a)Defined in dhall-1.42.3 · Dhall.Syntax.FunctionBinding
  • Generic (RecordField s a)Defined in dhall-1.42.3 · Dhall.Syntax.RecordField
  • Generic (Either a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Proxy t)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (U1 p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (V1 p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (IPRTable k a)Defined in iproute-1.7.15 · Data.IP.RouteTable.Internal
  • Generic (ParseError s e)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error
  • Generic (ParseErrorBundle s e)Defined in megaparsec-9.7.0 · Text.Megaparsec.Error
  • Generic (State s e)Defined in megaparsec-9.7.0 · Text.Megaparsec.State
  • Generic (Either a b)Defined in strict-0.5.1 · Data.Strict.Either
  • Generic (These a b)Defined in strict-0.5.1 · Data.Strict.These
  • Generic (Pair a b)Defined in strict-0.5.1 · Data.Strict.Tuple
  • Generic (These a b)Defined in these-1.2.1 · Data.These
  • Generic (Lift f a)Defined in transformers-0.6.1.1 · Control.Applicative.Lift
  • Generic (MaybeT m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Maybe
  • Generic (a, b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (WrappedArrow a b c)Defined in base-4.20.2.0 · Control.Applicative
  • Generic (Biap bi a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Biap
  • Generic (Fix p a)Defined in bifunctors-5.6.2 · Data.Bifunctor.Fix
  • Generic (Join p a)Defined in bifunctors-5.6.2 · Data.Bifunctor.Join
  • Generic (Kleisli m a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Control.Arrow
  • Generic (Const a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.Const
  • Generic (Ap f a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Monoid
  • Generic (Alt f a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.Internal
  • Generic (Rec1 f p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (URec Char p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (URec Double p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (URec Float p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (URec Int p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (URec Word p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (URec (Ptr ()) p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Tagged s b)Defined in tagged-0.8.9 · Data.Tagged
  • Generic (These1 f g a)Defined in these-1.2.1 · Data.Functor.These
  • Generic (Backwards f a)Defined in transformers-0.6.1.1 · Control.Applicative.Backwards
  • Generic (AccumT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Accum
  • Generic (ExceptT e m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Except
  • Generic (IdentityT f a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Identity
  • Generic (ReaderT r m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Reader
  • Generic (SelectT r m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Select
  • Generic (StateT s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.State.Lazy
  • Generic (StateT s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.State.Strict
  • Generic (WriterT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Writer.CPS
  • Generic (WriterT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Writer.Lazy
  • Generic (WriterT w m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Writer.Strict
  • Generic (Constant a b)Defined in transformers-0.6.1.1 · Data.Functor.Constant
  • Generic (Reverse f a)Defined in transformers-0.6.1.1 · Data.Functor.Reverse
  • Generic (a, b, c)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Product f g a)Defined in base-4.20.2.0 · Data.Functor.Product
  • Generic (Sum f g a)Defined in base-4.20.2.0 · Data.Functor.Sum
  • Generic (K1 i c p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (ContT r m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.Cont
  • Generic ((:*:) f g p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic ((:+:) f g p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Compose f g a)Defined in base-4.20.2.0 · Data.Functor.Compose
  • Generic (Clown f a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Clown
  • Generic (Flip p a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Flip
  • Generic (Joker g a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Joker
  • Generic (WrappedBifunctor p a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Wrapped
  • Generic (M1 i c f p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (RWST r w s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.RWS.CPS
  • Generic (RWST r w s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.RWS.Lazy
  • Generic (RWST r w s m a)Defined in transformers-0.6.1.1 · Control.Monad.Trans.RWS.Strict
  • Generic ((:.:) f g p)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d, e)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Product f g a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Product
  • Generic (Sum p q a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Sum
  • Generic (a, b, c, d, e, f)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Tannen f p a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Tannen
  • Generic (a, b, c, d, e, f, g)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d, e, f, g, h)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (Biff p f g a b)Defined in bifunctors-5.6.2 · Data.Bifunctor.Biff
  • Generic (a, b, c, d, e, f, g, h, i)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d, e, f, g, h, i, j)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d, e, f, g, h, i, j, k)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d, e, f, g, h, i, j, k, l)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d, e, f, g, h, i, j, k, l, m)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (a, b, c, d, e, f, g, h, i, j, k, l, m, n)Defined in ghc-internal-9.1003.0 · GHC.Internal.Generics
  • Generic (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