story: add file mar/story-diff.hoon, extract diff type to sur file

This commit is contained in:
Yaseen 2022-03-11 11:21:55 -05:00
parent 18537e0ae0
commit b43b9f195e
3 changed files with 22 additions and 7 deletions

View File

@ -0,0 +1,16 @@
::
::::
::
/- *story
|_ =story-diff
::
++ grad %noun
++ grow
|%
++ noun story-diff
--
++ grab :: convert from
|%
++ noun ^story-diff :: make from %noun
--
--

View File

@ -2,8 +2,6 @@
/+ *story
!:
|_ tale=story
+$ story-diff [additions=story deletions=story]
::
++ grad
|%
++ form %story-diff

View File

@ -1,8 +1,9 @@
^?
|%
+$ prose [title=@t body=@t]
+$ proses (set prose)
+$ story (jug tako:clay prose) :: set len > 1 means conflicting messages have been assigned
+$ chapter [tako:clay proses] :: prose entry type
+$ cash $%([%tako p=tako:clay] case) :: used in generators to accept a tako directly as well
+$ prose [title=@t body=@t]
+$ proses (set prose)
+$ story (jug tako:clay prose) :: set len > 1 means conflicting messages have been assigned
+$ chapter [tako:clay proses] :: prose entry type
+$ cash $%([%tako p=tako:clay] case) :: used in generators to accept a tako directly as well
+$ story-diff [additions=story deletions=story]
--