Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. cmapM_ :: forall w (m :: Type -> Type) c . (Get w m c, Members w m c) => (c -> SystemT w m ()) -> SystemT w m ()

    apecs Apecs

    Monadically iterates over all entites with a cx

  2. data EnumMap c

    apecs Apecs.Experimental.Reactive

    Allows you to look up entities by component value. Use e.g. withReactive $ enumLookup True to retrieve a list of entities that have a True component. Based on an IntMap IntSet internally.

  3. data IxMap c

    apecs Apecs.Experimental.Reactive

    Allows you to look up entities by component value. Based on an IOArray c IntSet internally

  4. data OrdMap c

    apecs Apecs.Experimental.Reactive

    Allows you to look up entities by component value. Based on a Map c IntSet internally

  5. cmap :: forall w (m :: Type -> Type) cx cy . (Get w m cx, Members w m cx, Set w m cy) => (cx -> cy) -> SystemT w m ()

    apecs Apecs.System

    Maps a function over all entities with a cx, and writes their cy.

  6. cmapIf :: forall w (m :: Type -> Type) cp cx cy . (Get w m cx, Get w m cp, Members w m cx, Set w m cy) => (cp -> Bool) -> (cx -> cy) -> SystemT w m ()

    apecs Apecs.System

    Conditional cmap, that first tests whether the argument satisfies some property. The entity needs to have both a cx and cp component.

  7. cmapM :: forall w (m :: Type -> Type) cx cy . (Get w m cx, Set w m cy, Members w m cx) => (cx -> SystemT w m cy) -> SystemT w m ()

    apecs Apecs.System

    Monadically iterates over all entites with a cx, and writes their cy.

  8. cmapM_ :: forall w (m :: Type -> Type) c . (Get w m c, Members w m c) => (c -> SystemT w m ()) -> SystemT w m ()

    apecs Apecs.System

    Monadically iterates over all entites with a cx

  9. makeMapComponents :: [Name] -> Q [Dec]

    apecs Apecs.TH

    Creates Component instances with Map stores

  10. makeMapComponentsFor :: Name -> [Name] -> Q [Dec]

    apecs Apecs.TH

    No documentation available.

Page 978 of many | Previous | Next