(dlist-find-node) ( ... dlist-node quot: ( ... node -- ... ? ) -- ... node/f )


Vocabulary
dlists

Inputs
dlist-nodean object
quota quotation with stack effect ( ... node -- ... ? )


Outputs
node/fan object


Definition


: (dlist-find-node)
( ... dlist-node quot: ( ... node -- ... ? ) -- ... node/f )
over [
[ call ] [ drop ] [ [ next>> ] dip (dlist-find-node) ]
2if
] [ 2drop f ] if ; inline recursive