Skip to content

Instantly share code, notes, and snippets.

@mattlevan
Created November 10, 2017 19:13
Show Gist options
  • Save mattlevan/7480e0aff670bda5c317e925520e582e to your computer and use it in GitHub Desktop.
Save mattlevan/7480e0aff670bda5c317e925520e582e to your computer and use it in GitHub Desktop.
/mar/notes/note.hoon
:::: /===/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