indexation-0.2: library/Indexation/Constructors/EntityTable.hs
module Indexation.Constructors.EntityTable
where
import Indexation.Prelude hiding (lookup)
import Indexation.Types
import qualified Indexation.Vector as A
indexTable :: IndexTable entity -> EntityTable entity
indexTable (IndexTable size table) =
EntityTable vector
where
vector =
A.indexHashMapWithSize size table