PersistenceDeclaration.decode: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/persistence_declaration.bend as PersistenceDeclaration Lines 36-38 of bendvy-ecs-core@0.1.0.3/persistence_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/persistence_declaration.bend&start_line=36&end_line=38 import Base import bendvy-ecs-core@0.1.0.3/decode_data.bend as D import bendvy-ecs-core@0.1.0.3/ordinary_declaration.bend as Canonical def decode(~S:Data,~P:Type,~identity:Canonical.Declaration,~project:P -> P & D.Raw,context:Context,owner:P) -> Context & D.Receipt

: match context: case Context{+declaration,retained}:(Context{declaration,retained},validate(~S,~P,~identity,~project,declaration,owner)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/decode_data.bend&name=Raw https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/decode_data.bend&name=Receipt https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/ordinary_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/persistence_declaration.bend&name=Context https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/persistence_declaration.bend&name=validate