def presenter

bendvy-ecs-core@0.1.0.4 · ordinary_app_resource_declaration.bend:53

import bendvy-ecs-core@0.1.0.4/ordinary_app_resource_declaration.bend as OrdinaryAppResourceDeclaration
import Base

53# Obtain the declared Data-view renderer, consuming this declaration value.
54# Rendering is observation work and grants no access to a World or resource.
55def presenter(~S:Data,~C:Type,~R:Type,~E:Data,~Ops:Type -> Type,~V:Data,declaration:Declaration<S,C,R,E,Ops,V>) -> V -> String:
56  match declaration:
57    case Declaration{_,_,render}:render

Uses (2)

Used by (1)