mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
story: update |story-remove
to use new types
This commit is contained in:
parent
86ef82dbe1
commit
5b512abae5
@ -1,6 +1,7 @@
|
||||
::
|
||||
::::
|
||||
::
|
||||
/- *story
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ bec=beak]
|
||||
[[syd=desk =aeon:clay ~] ~]
|
||||
@ -11,8 +12,7 @@
|
||||
=/ our p.bec
|
||||
:: XX should `base` here be syd or q.bec
|
||||
=/ tak .^(tako:clay %cs /(scot %p our)/base/(scot %ud aeon)/tako/~)
|
||||
=/ tale=(map tako:clay [@t @t])
|
||||
.^((map tako:clay [@t @t]) %cx /(scot %p our)/[syd]/(scot %da now)/story)
|
||||
=. tale (~(del by tale) tak)
|
||||
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
|
||||
=. tale (~(del ju tale) tak)
|
||||
:- %helm-pass
|
||||
[%c [%info syd %& [/story %ins story+!>(tale)]~]]
|
Loading…
Reference in New Issue
Block a user