hoon: add +smyt

This commit is contained in:
Alex Shelkovnykov 2023-09-05 22:20:08 -06:00
parent d505538f8c
commit e5d08bb7e0

View File

@ -1272,6 +1272,13 @@
[bas ?:(top 0 gop)]
|=([? b=@ c=tape] [(dug b) c])
::
:: Formatting functions
::
++ smyt :: pretty print path
|= bon=path ^- tank
:+ %rose [['/' ~] ['/' ~] ~]
(turn bon |=(a=@ [%leaf (trip a)]))
::
:: Virtualization
::
++ mink !. :: raw virtual nock