urbit/pkg/arvo/mar/graph/validator/dm.hoon

27 lines
460 B
Plaintext
Raw Normal View History

2021-04-23 04:39:29 +03:00
/- *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
::
2021-04-23 04:39:29 +03:00
++ notification-kind
^- (unit notif-kind:hark)
?+ index.p.i ~
[@ @ ~] `[%message [1 2] %count %none]
2021-04-23 04:39:29 +03:00
==
::
--
++ grab
|%
++ noun indexed-post
2021-04-23 04:39:29 +03:00
--
::
++ grad %noun
--