DecodeValidatedResource.checked: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/decode_validated_resource.bend as DecodeValidatedResource Lines 14-17 of bendvy-ecs-core@0.1.0.4/decode_validated_resource.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/decode_validated_resource.bend&start_line=14&end_line=17 import Base import decode_frame.bend as F import ordinary_declaration.bend as Identity import decode_data.bend as D def checked(~S:Data,~C:Type,~R:Type,~E:Data,~P:Type,~Q:Type,~identity:Identity.Declaration,~project:P -> P & D.Raw,frame:F.Frame,receipt:D.Receipt) -> F.Frame & Output: match receipt: case D.Receipt{owner,D.Rejected{error}}:(frame,Refused{owner,error}) case D.Receipt{owner,D.Accepted{canonical}}:replaced(~S,~C,~R,~E,~P,~Q,~identity,~project,canonical,F.resource_set(~S,~C,~R,~E,~P,~Q,~identity,~project,frame,owner)) Uses (10): 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.4/decode_data.bend&name=Checked https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_data.bend&name=Raw https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_data.bend&name=Receipt https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=resource_set https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_validated_resource.bend&name=Output https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_validated_resource.bend&name=replaced https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend&name=Declaration