HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleapecs-0.10.1Haskell2010

Apecs.Tags

  • 1 class
  • 1 value
  • Packageapecs-0.10.1
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTags.hs
familytype family WTag w
#

The type of tags for a world, e.g. WTag MyWorld = MyWorldTag. Standalone so that multiple HasTags w m instances share one equation.

classclass Monad m => HasTags w (m :: Type -> Type) where
#

HasTags w m means that world w has a tag system generated by makeTaggedComponents. Provides a way to query component tags for entities, dispatching on the world type w.

Methods