urbit/gen/ls.hoon
Anton Dyudin ff518453ef flip generator default arguments to end of ?()s
tracking a change in bunt semantics
2017-11-27 16:43:09 -08:00

15 lines
235 B
Plaintext

:: LiSt directory subnodes
::
:::: /hoon/ls/gen
::
/? 310
// /%/subdir
::
::::
::
~& %
:- %say
|= {^ {arg/path $~} vane/?($g $c)}
=+ lon=.^(arch (cat 3 vane %y) arg)
tang+[?~(dir.lon leaf+"~" (subdir vane arg dir.lon))]~