mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 20:02:51 +03:00
14 lines
224 B
Plaintext
14 lines
224 B
Plaintext
!:
|
|
:: /=main=/bin/ls/hoon
|
|
::
|
|
|= *
|
|
|= [pax=path ~]
|
|
:_ ~
|
|
^- (list gift)
|
|
=+ lon=((hard arch) .^(%cy pax))
|
|
?: =(~ r.lon) ~
|
|
:_ ~
|
|
:- %la
|
|
:+ %rose [" " "" ""]
|
|
(turn (~(tap by r.lon) ~) |=([a=@ta b=*] [%leaf (trip a)]))
|