def prepared

bendvy-ecs-core@0.1.0.4 · ordinary_schema_dump.bend:83

import bendvy-ecs-core@0.1.0.4/ordinary_schema_dump.bend as OrdinarySchemaDump
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as Schema
import bendvy-ecs-core@0.1.0.4/ordinary_schema_provision.bend as Ordinary

83# Consume dump provision and return its retained ordinary schema plus the
84# matching Recipe token. Performs no observation, counting or system execution.
85def prepared(~S:Data,~C:Type,~R:Type,~empty:Unit -> C,~count:C -> List<&2,W.Handle<S>> -> C & List<&2,Maybe<&2,U32>>,~components:C -> U32 -> C & List<&2,Maybe<&2,String>>,~resources:R -> R & List<&2,Maybe<&2,String>>,value:Provision<S,C,R,empty,count,components,resources>) -> Schema.Schema<S,C,R> & Recipe<S,C,R,count,components,resources>:
86  match value:
87    case Provision{Ordinary.Provision{schema}}:(schema,Recipe{})

Uses (12)

Used by (0)

No other definition uses this definition.