296 set pools kinds folds shared leaf

○ Planned This feature is planned but not yet implemented.

OWED: std/store:kind + pooled set — kinds have no storage; the set owns capacity; shared leaves fold.

Failure Output

Showing last 10 of 14 lines
  --> tests/regression/600_STDLIB/690_STORE/690_296_set_pools_kinds_folds_shared_leaf/input.k:50:0

error[KORU161]: std/store:query(Entities): unknown plural store - no std/store:new(Entities, capacity: N) found (query reads a plural container's live rows)
  --> tests/regression/600_STDLIB/690_STORE/690_296_set_pools_kinds_folds_shared_leaf/input.k:52:0

error[KORU161]: std/store:query(Entities): unknown plural store - no std/store:new(Entities, capacity: N) found (query reads a plural container's live rows)
  --> tests/regression/600_STDLIB/690_STORE/690_296_set_pools_kinds_folds_shared_leaf/input.k:55:0

error[KORU161]: std/store:query(Entities): unknown plural store - no std/store:new(Entities, capacity: N) found (query reads a plural container's live rows)
  --> tests/regression/600_STDLIB/690_STORE/690_296_set_pools_kinds_folds_shared_leaf/input.k:58:0

Code

input.k

Expected output

entity 18
entity 10
player 18 12
enemy 10 5

Flows

flow ~i64 click a branch to expand · @labels scroll to their anchor
i64 (expr: Strength)
flow ~i64 click a branch to expand · @labels scroll to their anchor
i64 (expr: Mana)
flow ~i64 click a branch to expand · @labels scroll to their anchor
i64 (expr: Armor)
flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Player, source: str: Strength mana: Mana)
flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Enemy, source: str: Strength armor: Armor)
flow ~kind click a branch to expand · @labels scroll to their anchor
kind (Player, source: Player)
flow ~kind click a branch to expand · @labels scroll to their anchor
kind (Enemy, source: Enemy)
flow ~set click a branch to expand · @labels scroll to their anchor
set (Entities, capacity: 16, source: Player Enemy)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (Player, source: str: 18, mana: 12)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (Enemy, source: str: 10, armor: 5)
flow ~query click a branch to expand · @labels scroll to their anchor
query (Entities)
flow ~query click a branch to expand · @labels scroll to their anchor
query (Entities)
flow ~query click a branch to expand · @labels scroll to their anchor
query (Entities)

Test Configuration

MUST_RUN