story: make |story-list use new types

This commit is contained in:
Yaseen 2022-01-20 16:01:01 -05:00
parent f491aa0384
commit a927d31629

View File

@ -1,3 +1,4 @@
/- *story
:: ::
:::: ::::
:: ::
@ -9,10 +10,9 @@
:: List all commit messages for the given desk :: List all commit messages for the given desk
:: ::
=/ our p.bec =/ our p.bec
=/ story=(map tako:clay [@t @t]) =/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
.^((map tako:clay [@t @t]) %cx /(scot %p our)/[syd]/(scot %da now)/story) =/ story-to-mime .^($-(story mime) %cf /(scot %p our)/[syd]/(scot %da now)/story/mime)
=/ story-to-mime .^($-((map tako:clay [@t @t]) mime) %cf /(scot %p our)/[syd]/(scot %da now)/story/mime) =/ tale-mime (story-to-mime tale)
=/ story-mime (story-to-mime story) =/ tale-text `@t`q.q.tale-mime
=/ story-text `@t`q.q.story-mime
:- %tang :- %tang
[story-text ~] [tale-text ~]