HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleapecs-0.10.1Haskell2010

Apecs.Util

Contents
  1. Utility
  2. EntityCounter
Synopsis
  • Packageapecs-0.10.1
  • Exports8
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUtil.hs

Utility

valueglobal :: Entity

Convenience entity, for use in places where the entity value does not matter, i.e. a global store.

EntityCounter

newtypenewtype EntityCounter

Component used by newEntity to track the number of issued entities. Automatically added to any world created with makeWorld

Instances6Eq, Show, Semigroup, Monoid, Component, Storage
familytype family Maybify t where

Wrap tuple elements in Maybe.

This allows to safely get component packs generated by makeInstanceFold mkTupleT.

Equations