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

Moduleapecs-0.9.6Haskell2010

Apecs.Experimental.Components

This module is experimental, and its API might change between point releases. Use at your own risk. -

  • 2 types
  • Packageapecs-0.9.6
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceComponents.hs
datadata Redirect c
#

Pseudocomponent that when written to, actually writes c to its entity argument. Can be used to write to other entities in a cmap.

Constructors

Instances5Has, Eq, Show, Component, Storage
newtypenewtype Head c
#

Pseudocomponent that can be read like any other component, but will only yield a single member when iterated over. Intended to be used as cmap $ Head (...) -> ...

Constructors

Instances5Has, Eq, Show, Component, Storage
  • Has w m c => Has w m (Head c)Defined in apecs-0.9.6 · Apecs.Experimental.Components
  • Eq c => Eq (Head c)Defined in apecs-0.9.6 · Apecs.Experimental.Components
  • Show c => Show (Head c)Defined in apecs-0.9.6 · Apecs.Experimental.Components
  • Component c => Component (Head c)Defined in apecs-0.9.6 · Apecs.Experimental.Components
  • type Storage (Head c) = HeadStore (Storage c)Defined in apecs-0.9.6 · Apecs.Experimental.Components