mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
27 lines
460 B
Plaintext
27 lines
460 B
Plaintext
/- *post, met=metadata-store, graph=graph-store, hark=hark-graph-hook
|
|
|_ i=indexed-post
|
|
++ grow
|
|
|%
|
|
++ noun i
|
|
::
|
|
++ graph-indexed-post
|
|
^- indexed-post
|
|
?> ?=(?([@ ~] [@ @ ~]) index.p.i)
|
|
?> (lth i.index.p.i (bex 128))
|
|
i
|
|
::
|
|
++ notification-kind
|
|
^- (unit notif-kind:hark)
|
|
?+ index.p.i ~
|
|
[@ @ ~] `[%message [1 2] %count %none]
|
|
==
|
|
::
|
|
--
|
|
++ grab
|
|
|%
|
|
++ noun indexed-post
|
|
--
|
|
::
|
|
++ grad %noun
|
|
--
|