ExecutionCommandLocal.invoke: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_command_local.bend as ExecutionCommandLocal Lines 33-35 of bendvy-ecs-core@0.1.0.3/execution_command_local.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_local.bend&start_line=33&end_line=35 import Base import bendvy-ecs-core@0.1.0.3/execution_effects.bend as E import bendvy-ecs-core@0.1.0.3/execution_system.bend as Sys import bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend as Buffer def invoke(~S:Data,~P:Type,~D:Type,~Permit:Data,~F:Type -> Type,~effects:E.Effects,~User:Type,~Error:Data,~Out:Data,~Ops:Data -> (Type -> Type) -> Type -> Type -> Type,~body:@-Permit:Data -> @-F:(Type -> Type) -> @-effects:E.Effects -> @-H:Type -> @-Q:Type -> @-caps:Ops(Permit,F,H,Q) -> @-commands:Commands -> H -> Q -> User -> F(H & (Q & (User & Sys.Completion))),~H:Type,~caps:Ops(Permit,F,H,Buffer.Buffer),scope:H,local:Local) -> F(H & (Local & Sys.Completion)): match local: case Local{user,commands,permission}:E.map(~F,(H & (Buffer.Buffer & (User & Sys.Completion))),(H & (Local & Sys.Completion)),effects,body(Permit,F,effects,H,Buffer.Buffer,caps,canonical(~S,~P,~D),scope,commands,user),result => returned(~S,~P,~D,~User,~Error,~Out,~H,permission,result)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend&name=Buffer https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_local.bend&name=Commands https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_local.bend&name=Local https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_local.bend&name=canonical https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_local.bend&name=returned https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_effects.bend&name=Effects https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_effects.bend&name=map https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_system.bend&name=Completion