mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 19:22:22 +03:00
24 lines
585 B
Plaintext
24 lines
585 B
Plaintext
|
::
|
||
|
:::: /hoon/comments/tree/mar
|
||
|
::
|
||
|
/? 310
|
||
|
/+ react
|
||
|
!:
|
||
|
::::
|
||
|
::
|
||
|
|_ all/(list (pair time manx))
|
||
|
::
|
||
|
++ grow :: convert to
|
||
|
|%
|
||
|
++ json
|
||
|
:- %a
|
||
|
%+ turn
|
||
|
(sort all |=({a/* b/*} (lor b a)))
|
||
|
|= {a/time b/manx} ^- ^json
|
||
|
(jobe time+(jode a) body+(react-to-json:react b) ~)
|
||
|
--
|
||
|
++ grab |% :: convert from
|
||
|
++ noun (list {time manx}) :: clam from %noun
|
||
|
::++ elem |=(a=manx `_all`[[/ ((getall %h1) a)] ~ ~])
|
||
|
-- --
|