Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
data
SumType (types :: [Type])aeson-schemas Data.Aeson.Schema.Utils.Sum Represents a sum type. Loads the first type that successfully parses the JSON value. Example:
data Owl = Owl data Cat = Cat data Toad = Toad type Animal = SumType '[Owl, Cat, Toad] Here Owl :: Animal There (Here Cat) :: Animal There (There (Here Toad)) :: Animal {- Fails at compile-time Here True :: Animal Here Cat :: Animal There (Here Owl) :: Animal There (There (There (Here Owl))) :: Animal -}
type family
SumArity (arg :: Type -> Type) :: Naturalderive-storable Foreign.Storable.Generic.Tools.TypeFuns No documentation available.
-
elm-bridge Elm.Derive Specifies how to encode constructors of a sum datatype.
-
elm-bridge Elm.TyRep No documentation available.
SumEncoding' :: SumEncoding -> SumEncoding'elm-bridge Elm.TyRep No documentation available.
-
elm-bridge Elm.TyRep No documentation available.
-
elm-bridge Elm.TyRep No documentation available.
SumRep :: [RuntimeRep] -> RuntimeRepihaskell IHaskellPrelude An unboxed sum of the given reps
SumObserverType :: InstrumentTypeopentelemetry-extra OpenTelemetry.Common No documentation available.
SumFuse :: Text -> (Int -> Int) -> Int -> SumPattern aperf Perf.Algos No documentation available.