story: cleanup

This commit is contained in:
Yaseen 2022-01-30 15:58:35 -05:00
parent a0cc6d8980
commit 8787c43c83
4 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,7 @@
/- *story
::
::::
::
/- *story
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
[[~] =desk overwrite=_| ~]
@ -13,7 +13,8 @@
=? desk =(*^desk desk) q.bec :: use current desk if user didn't provide
=/ existing-story .^(? %cu /(scot %p our)/[desk]/(scot %da now)/story)
?: ?&(existing-story !overwrite)
~& "Error: {<desk>}/story already exists. Set the optional parameter `overwrite` to `%.y` to forcibly wipe"
~& >> "Error: {<desk>}/story already exists. Set the optional parameter `overwrite` to `%.y` to forcibly wipe"
:: XX could use a better way to noop
:- %helm-pass [%d %noop ~]
=| tale=story
:- %helm-pass

View File

@ -1,7 +1,7 @@
/- *story
::
::::
::
/- *story
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
[[syd=desk =prose ~] cas=case ~]

View File

@ -1,7 +1,7 @@
/- *story
::
::::
::
/- *story
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
[[syd=desk ~] ~]

View File

@ -2,7 +2,4 @@
|%
+$ prose [title=@t body=@t]
+$ story (jug tako:clay prose)
:: If, for a given set of proses ~(get ju tak), where tak is a tako:clay,
:: (lent ~(tap in proses)) is greater than 1, it means there are multiple conflicting
:: messages associated with the given tak.
--