mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-06 23:16:29 +03:00
lib/strandio: add +scry
This commit is contained in:
parent
36202d8463
commit
c3fd4922aa
@ -241,6 +241,15 @@
|
|||||||
;< our=@p bind:m get-our
|
;< our=@p bind:m get-our
|
||||||
(watch wire [our term] path)
|
(watch wire [our term] path)
|
||||||
::
|
::
|
||||||
|
++ scry
|
||||||
|
|* [=mold =path]
|
||||||
|
=/ m (strand mold)
|
||||||
|
?> ?=(^ path)
|
||||||
|
?> ?=(^ t.path)
|
||||||
|
;< =bowl:spider bind:m get-bowl
|
||||||
|
%- pure:m
|
||||||
|
.^(mold i.path (scot %p our.bowl) i.t.path (scot %da now.bowl) t.t.path)
|
||||||
|
::
|
||||||
++ leave
|
++ leave
|
||||||
|= [=wire =dock]
|
|= [=wire =dock]
|
||||||
=/ m (strand ,~)
|
=/ m (strand ,~)
|
||||||
|
Loading…
Reference in New Issue
Block a user