mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-20 21:31:32 +03:00
25 lines
473 B
Plaintext
25 lines
473 B
Plaintext
/- *post, met=metadata-store, graph=graph-store, hark=hark-graph-hook
|
|
|_ i=indexed-post
|
|
++ grow
|
|
|%
|
|
++ noun i
|
|
++ notification-kind
|
|
^- (unit notif-kind:hark)
|
|
?+ index.p.i ~
|
|
[@ @ ~] `[%message [1 2] %count %none]
|
|
==
|
|
::
|
|
--
|
|
++ grab
|
|
|%
|
|
++ noun
|
|
|: p=`*`%*(. *indexed-post index.p [0 0 ~])
|
|
=/ ip ;;(indexed-post p)
|
|
?> ?=(?([@ ~] [@ @ ~]) index.p.ip)
|
|
?> (lth i.index.p.ip (bex 128))
|
|
ip
|
|
--
|
|
::
|
|
++ grad %noun
|
|
--
|