mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 10:49:26 +03:00
31 lines
513 B
Plaintext
31 lines
513 B
Plaintext
/- spider
|
|
/+ *strandio
|
|
=>
|
|
|%
|
|
++ strand strand:spider
|
|
::
|
|
++ supported-apps
|
|
^- (list term)
|
|
:~ %graph-pull-hook
|
|
%group-pull-hook
|
|
==
|
|
::
|
|
++ poke-all-sane
|
|
=/ m (strand ,~)
|
|
^- form:m
|
|
=/ apps supported-apps
|
|
|- =* loop $
|
|
?~ apps
|
|
(pure:m ~)
|
|
=* app i.apps
|
|
;< ~ bind:m (poke-our app sane+!>(%sane))
|
|
loop(apps t.apps)
|
|
--
|
|
::
|
|
^- thread:spider
|
|
|= vase
|
|
=/ m (strand ,vase)
|
|
;< ~ bind:m poke-all-sane
|
|
;< ~ bind:m (poke-our %sane noun+!>(%fix))
|
|
(pure:m !>("Done"))
|