HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulestrict-sop-core-0.1.4.0Haskell2010

Data.SOP.Strict.NS

Strict variant of NS

See sop-core's NS.

  • 2 types
  • 12 values

NS

5 declarations
datadata NS (f :: k -> Type) (xs :: [k]) where
#

Constructors

  • Z :: !f x -> NS f (x ': xs1)
  • S :: !NS f xs1 -> NS f (x ': xs1)
Instances14HTrans, HAp, HCollapse, HExpand, HSequence, Eq, …
  • HTrans NS NSDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • HAp NSDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • HCollapse NSDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • HExpand NSDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • HSequence NSDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • All (Compose Eq f) xs => Eq (NS f xs)Defined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • (All (Compose Eq f) xs, All (Compose Ord f) xs) => Ord (NS f xs)Defined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • All (Compose Show f) xs => Show (NS f xs)Defined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • All (Compose NoThunks f) xs => NoThunks (NS f xs)Defined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • type CollapseTo NS a = aDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • type Prod NS = NPDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • type AllN NS c = All cDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • type Same NS = NSDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
  • type SListIN NS = SListIDefined in strict-sop-core-0.1.4.0 · Data.SOP.Strict.NS
valueunZ :: NS f '[x] -> f x
#

Injections

2 declarations

Specialized functions

7 declarations
valuecexpand_NS
  1. :: All c xs
  2. => proxy c
  3. -> forall (x :: k). c x => f x
  4. -> NS f xs
  5. -> NP f xs
#
valuetrans_NS
  1. :: AllZip c xs ys
  2. => proxy c
  3. -> forall (x :: k1) (y :: k2). c x y => f x -> g y
  4. -> NS f xs
  5. -> NS g ys
#