summaryrefslogtreecommitdiff
path: root/desk/mar/tang.hoon
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-17 21:45:18 +0700
committerpolwex <polwex@sortug.com>2025-09-17 21:45:18 +0700
commit985fa2f7c99832cdf3c3351d2273c8fd05402b78 (patch)
treebc727486a89ad05e588754f8de8b1096400a3d31 /desk/mar/tang.hoon
parentf0df4c7297a05bd592d8717b8997284c80fd0500 (diff)
basic comms working
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]~)
+ --
+--