ExecutionSaveLayoutField.field: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_save_layout_field.bend as ExecutionSaveLayoutField Lines 16-21 of bendvy-ecs-core@0.1.0.3/execution_save_layout_field.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_layout_field.bend&start_line=16&end_line=21 import Base import bendvy-ecs-core@0.1.0.3/execution_save_data.bend as Saved import bendvy-ecs-core@0.1.0.3/execution_save_recipe.bend as Recipe import bendvy-ecs-core@0.1.0.3/lifecycle.bend as Life import bendvy-ecs-core@0.1.0.3/decode_data.bend as D def field(+key:String,stamp:Maybe<&2,Life.Stamp>,value:Maybe<&2,Recipe.Field>) -> Saved.Fields: match value: case None{}:Saved.Fields{[Saved.Field{key,False{},Saved.Absent{},stamp}],None{}} case Some{Recipe.Omitted{}}:Saved.Fields{[Saved.Field{key,True{},Saved.Omitted{},stamp}],None{}} case Some{Recipe.Saved{D.Field{_,raw}}}:Saved.Fields{[Saved.Field{key,True{},Saved.Persisted{raw},stamp}],None{}} case Some{Recipe.Refused{reason}}:Saved.error(reason) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/decode_data.bend&name=Field https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_data.bend&name=Field https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_data.bend&name=Fields https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_data.bend&name=Value https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_data.bend&name=error https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_save_recipe.bend&name=Field https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifecycle.bend&name=Stamp