ֺ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None*9:;<=DIORTCasts for entities and slices#Class of storages for global values ?A constraint that indicates that the runtime representation of c is cZ This will almost always be the case, but it _might_ not be so we need this constraint. ;Class of storages that associates components with entities. .Return type for safe reads writes to the store+The type of components stored by this StoreDUnsafe index to the store. Undefined if the component does not exist$Retrieves a component from the storeWrites a component$Either writes or deletes a component|Modifies an element in the store. Equivalent to reading a value, and then writing the result of the function application.Maps over all elements of this store. Equivalent to getting a list of all entities with this component, and then explModifying each of them.Represents a safe access to cO. A safe access is either a read that might fail, or a write that might delete.$A store that is indexed by entities.+Destroys the component for the given index.8Returns whether there is a component for the given index+Returns an unboxed vector of member indices 1Removes all components. Equivalent to calling  explDestroy on each member!(Monadically iterates over member indices"(Monadically iterates over member indices#ICommon for every storage. Represents a container that can be initialized.$2The initialization argument required by this store&A world &* a component if it can produce its Storage(A component is defined by the type of its storage The storage in turn supplies runtime types for the component. For the component to be valid, its Storage must be in instance of Initializable.*5A system is a newtype around `ReaderT w IO a`, where w is the game world variable.-JA slice is a list of entities, represented by a Data.Unbox.Vector of Ints.0uAn Entity is really just an Int. The type variable is used to keep track of reads and writes, but can be freely cast.;  !"#$%&'()*+,-./0123456789:;<=>?-   !"#$%&'()*+,-./01;01-./*+,()&'#$% !"   ?>=<;:98765432  !"#$%&'()*+,-./0123456789:;<=>?None*9:;<=DORTghIRun a system with a game worldJRun a system with a game worldK/A slice containing all entities with component cL/Returns whether the given entity has component c^ For composite components, this indicates whether the component has all its constituentsMDestroys the component c for the given entityN]Removes all components. Equivalent to manually iterating and deleting, but usually optimized.O|Gets the component for a given entity. This is a safe access, because the entity might not have the requested components.PIWrites a component to a given entity. Will overwrite existing components.QSame as set., but uses Safe to possibly delete a componentR~Applies a function if possible. Equivalent to reading, mapping, and writing, but stores can provide optimized implementations.SMonadically iterate a system over all entities that have that component. Note that writing to the store while iterating over it is undefined behaviour.TMonadically iterate a system over all entities that have that component. Note that writing to the store while iterating over it is undefined behaviour.U(Maps a pure function over all componentsVmapM_ version of cmapW.indexed cmapM_, also gives the current entity.X;mapM version of cmap. Can be used to get a list of entitiesY-indexed cmapM, also gives the current entity.Z0Maps a function that might delete its components[)Maps a function over all entities with a r, and writes their w\)Maps a function over all entities with a r, and writes or deletes their w]For all entities with a w, this map reads their r and writes their w^For all entities with a w, this map reads their r and writes or deletes their w_Reads a global value`Writes a global valueaModifies a global valueIJKLMNOPQRSTUVWXYZ[\]^_`aIJKLMNOPQRSTUVWXYZ[\]^_`aIJKLMNOPQRSTUVWXYZ[\]^_`aIJKLMNOPQRSTUVWXYZ[\]^_`aNone*,9:;<=DORTfghcA cache around another store. The wrapped store must produce safe representations using Maybe. Note that iterating over a cache is linear in its size, so large, sparsely populated caches will actually decrease performance.dBGlobal value. Must be given an initial value upon construction.5Constant value. Not very practical, but fun to write.eA Unique contains exactly one component belonging to some entity. Writing to it overwrites both the previous component and its owner.f@A store that keeps membership, but holds no values. Produces flag runtime values.gClass for flags, used by Set" to yield runtime representations.ioA map from Data.Intmap.Strict. O(n log(n)) for most operations. Yields safe runtime representations of type Maybe c.#bcdefghijklmnopqrstuvwxyz{|}bcdefghiifghcedbbcdefghijklmnopqrstuvwxyz{|}None9:;<=DIRTgh ~!Secretly just an int in a newtype^Initializes a store with (), useful since most stores have () as their initialization argumentInitialize an EntityCounter,Bumps the EntityCounter and yields its valueCWrites the given components to a new entity, and yields that entity'Explicitly invoke the garbage collectorQuantize turns a world-space coordinate into a table-space coordinate by dividing by the given cell size and rounding towards negative infinity.|Turns a table-space vector into an integral index, given some table size vector. Yields Nothing for out-of-bounds queriesRTests whether a vector is in the region given by 0 and the size vector (inclusive)For two table-space vectors indicating a region's bounds, gives a list of the vectors contained between them. This is useful for querying a spatial hash.DUnsafe version of flatten. Yields garbage for out-of-bounds queries.5Runs a system and gives its execution time in secondsKRuns a system, discards its output, and gives its execution time in seconds~Quantization cell sizeVector to be quantizedLower bound for the regionHigher bound for the region~~~None9:;TSlice version of foldM_Gets the size of a slice (O(n))%Tests whether a slice is empty (O(1))$Construct a slice from a list of IDsMonadically filter a slice.Concatenates two slices. Equivalent to mappendSlice version of forM_Slice version of forMMIterates over a slice, and reads the components of the Slice's type argument.MIterates over a slice, and reads the components of the Slice's type argument.Slice version of mapM_Slice version of mapMMIterates over a slice, and reads the components of the Slice's type argument.MIterates over a slice, and reads the components of the Slice's type argument.None*9:;<=DRTgh 3Hashtable that maintains buckets of entities whose  fromEnum c produces the same value"Composite Log consisting of 3 Logs"Composite Log consisting of 2 Logs!Composite Log consisting of 1 LogA Logger l of some store updates its Log l with the writes and deletes to Store s#FromPure turns a PureLog into a Log&A Log is a PureLog with mutable state.A PureLog is a piece of state l c! that is updated when components c( are written or destroyed. Note that  l :: * -> *.Produces the log indicated by the return type. Query the  EnumTable by an index (the result of fromEnum$). Will return an empty slice if  index < 0 of index >= fromEnum (maxBound). Query the  EnumTableQ by an example enum. Will not perform bound checks, so crashes if `fromEnum c  0 && fromEnum c fromEnum maxBound `.#NoneC%&'()*+,-01IJKLMNOPQRUVWXYZ[\]^_`adefghi~5*+,()01-&'ifedgh%MLKNOPQRUXVYW\[]^Z_`aIJ~   !"#$%&'(()*+,-./01234567889::;<<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~nopqt$apecs-0.2.1.1-H1wFjBEIE7SG3XxzJHzZBnApecs Apecs.Logs Apecs.Types Apecs.System Apecs.Stores Apecs.Util Apecs.SlicebaseControl.Monad.IO.ClassliftIO GHC.IORef readIOReftransformers-0.5.2.0Control.Monad.Trans.Classlift mtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6Control.Monad.Reader.ClassasksaskCastcastGlobalRWexplGlobalReadexplGlobalWriteexplGlobalModify IsRuntimeStoreSafeRWStores explGetUnsafeexplGetexplSet explSetMaybe explModifyexplCmap explCmapM_ explCimapM_ explCmapM explCimapMSafegetSafe HasMembers explDestroy explExists explMembers explReset explImapM_ explImapM InitializableInitArgs initStoreWithHasgetStore ComponentStorageSystemunSystemSliceunSliceEntity$fGlobalRW(,,)(,,) $fStore(,,)$fHasMembers(,,)$fInitializable(,,) $fHasw(,,)$fComponent(,,)$fGlobalRW(,)(,) $fStore(,)$fHasMembers(,)$fInitializable(,) $fHasw(,)$fComponent(,)$fCastSliceSlice$fCastEntityEntity $fEqEntity $fOrdEntity $fShowEntity $fShowSlice $fMonoidSlice$fFunctorSystem $fMonadSystem$fApplicativeSystem$fMonadIOSystem runSystemrunWithownersexistsdestroy resetStoregetsetset'modifyimapM_imapMcmapcmapM_cimapM_cmapMcimapMcmap'rmaprmap'wmapwmap' readGlobal writeGlobal modifyGlobalCachableCacheGlobalUniqueSetFlagflagMap $fStoreCache$fHasMembersCache$fInitializableCache$fCachableCache $fCachableMap$fGlobalRWGlobalc$fInitializableGlobal $fStoreConst$fHasMembersConst$fGlobalRWConstc$fInitializableConst $fStoreUnique$fHasMembersUnique$fInitializableUnique $fStoreSet$fHasMembersSet$fInitializableSet $fStoreMap$fHasMembersMap$fInitializableMap EntityCounter initStoreunEntity initCounter nextEntity newEntityrunGCquantizeflatteninboundsregion unsafeFlatten timeSystem timeSystem_$fComponentEntityCounter$fNumEntityCounter$fEqEntityCounter$fShowEntityCounter sliceFoldM_ sliceSize sliceNull sliceFromList sliceFilterM sliceConcat sliceForM_ sliceForM sliceForMC sliceForMC_ sliceMapM_ sliceMapM sliceMapMC sliceMapMC_ EnumTableLVec3LVec2LVec1LoggerFromPureLoglogEmptylogOnSet logOnDestroylogResetPureLog pureEmpty pureOnSet pureOnDestroygetLogbyIndexbyEnum$fLogEnumTablec $fLogLVec3c $fLogLVec2c $fLogLVec1c $fStoreLogger$fHasMembersLogger$fInitializableLogger$fLogFromPurec$fHasLogLoggerlConstHasLog explGetLog