shrub/pkg/arvo/ren/publish/comments.hoon

15 lines
315 B
Plaintext
Raw Normal View History

2019-07-12 01:07:05 +03:00
/- publish
/+ publish
/= result
/^ (list comment:publish)
2020-01-04 00:06:42 +03:00
/;
2019-07-12 01:07:05 +03:00
|= comments=(map knot comment:publish)
^- (list [comment-info:publish @t])
%+ sort ~(val by comments)
|= [a=comment:publish b=comment:publish]
^- ?
2019-07-19 01:34:42 +03:00
(gte date-created.info.a date-created.info.b)
2019-07-12 01:07:05 +03:00
::
/_ /publish-comment/
result