Hello!
I have the following code, and it works:
TUPLE: resource-gadget < track res ;
: find-resource-window ( resource -- world/f )
[ { [ drop resource-gadget? ] [ res>> = ] } 2&& ] curry find-window ;
Resource-gadget is a container for a resource tuple (in the res slot). The
function
Right now fry doesn't support "frying" into sequences that aren't quotations,
so this works:
'[ [ _ ] ]
But this doesn't:
'[ { _ } ]
We have a plan to fix this as it turns out I was talking about this issue a
couple days ago with someone. I'd like to make this fix since a lot of
Oh, OK. Thank you for the explanation, John!
18.05.2017, 01:54, "John Benediktsson" :
> Right now fry doesn't support "frying" into sequences that aren't quotations,
> so this works:
>
> '[ [ _ ] ]
>
> But this doesn't:
>
> '[ { _ } ]
>
> We have a plan to fix this as