closure-as ( vertex quot: ( vertex -- edges ) exemplar -- set )


Vocabulary
graphs

Inputs
vertexan object
quota quotation with stack effect ( vertex -- edges )
exemplaran object


Outputs
setan object


Definition


: closure-as
( vertex quot: ( vertex -- edges ) exemplar -- set )
new-empty-set-like [ swap (closure) ] keep ; inline