Created
November 10, 2017 19:13
-
-
Save mattlevan/7480e0aff670bda5c317e925520e582e to your computer and use it in GitHub Desktop.
/mar/notes/note.hoon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:::: /===/mar/notes/note/hoon | |
:: | |
/- notes-note | |
!: | |
|_ note=notes-note | |
++ grab | |
|% | |
+= noun notes-note | |
++ json | |
|= jon=^json | |
^- notes-note | |
%- need | |
%. jon | |
=> dejs-soft:format | |
(ot tim+di aut+(ci (slat %p) so) tit+so bod+(cu to-wain:format so) ~) | |
-- | |
-- | |
{"tim":1510340410,"aut":"zod","tit":"test","bod":"test"} | |
ford: cast %notes-note | |
ford: casting %json to %notes-note | |
#### | |
/~zod/home/0/mar/notes/note:<[14 5].[17 74]> | |
/~zod/home/0/mar/notes/note:<[13 5].[17 74]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment