summaryrefslogtreecommitdiff
path: root/desk/mar/tang.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'desk/mar/tang.hoon')
-rw-r--r--desk/mar/tang.hoon25
1 files changed, 25 insertions, 0 deletions
diff --git a/desk/mar/tang.hoon b/desk/mar/tang.hoon
new file mode 100644
index 0000000..9fdd314
--- /dev/null
+++ b/desk/mar/tang.hoon
@@ -0,0 +1,25 @@
+::
+:::: /hoon/tang/mar
+ ::
+/? 310
+::
+=, format
+|_ tan=(list tank)
+++ grad %noun
+++ grow
+ |%
+ ++ noun tan
+ ++ json
+ =/ result=(each (list ^json) tang)
+ (mule |.((turn tan tank:enjs:format)))
+ ?- -.result
+ %& a+p.result
+ %| a+[a+[%s '[[output rendering error]]']~]~
+ ==
+ --
+++ grab :: convert from
+ |%
+ ++ noun (list ^tank) :: clam from %noun
+ ++ tank |=(a=^tank [a]~)
+ --
+--