mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 23:44:56 +03:00
31 lines
646 B
Plaintext
31 lines
646 B
Plaintext
::
|
|
:::: /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]]']~]~
|
|
==
|
|
::
|
|
++ elem
|
|
=- ;pre:code:"{(of-wall -)}"
|
|
^- wall %- zing ^- (list wall)
|
|
(turn (flop tan) |=(a=tank (wash 0^160 a)))
|
|
--
|
|
++ grab :: convert from
|
|
|%
|
|
++ noun (list ^tank) :: clam from %noun
|
|
++ tank |=(a=^tank [a]~)
|
|
--
|
|
--
|