mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 05:41:43 +03:00
15 lines
317 B
Plaintext
15 lines
317 B
Plaintext
/- publish
|
|
/+ publish
|
|
/= result
|
|
/^ (list comment:publish)
|
|
/;
|
|
|= comments=(map knot comment:publish)
|
|
^- (list [comment-info:publish @t])
|
|
%+ sort ~(val by comments)
|
|
|= [a=comment:publish b=comment:publish]
|
|
^- ?
|
|
(gte date-created.info.a date-created.info.b)
|
|
::
|
|
/_ /publish-comment/
|
|
result
|