mirror of
https://github.com/urbit/shrub.git
synced 2024-12-13 16:03:36 +03:00
a539d986a7
In favor of [type] syntax. Turns a bunch of ++ into +$ along the way.
18 lines
298 B
Plaintext
18 lines
298 B
Plaintext
:: Kiln: Mount path to unix
|
|
::
|
|
:::: /hoon/mount/hood/gen
|
|
::
|
|
/? 310
|
|
::
|
|
::::
|
|
::
|
|
:- %say
|
|
|= $: [now=@da eny=@uvJ bec=beak]
|
|
[[pax=path pot=$@(~ [v=@tas ~])] ~]
|
|
==
|
|
?~ pot
|
|
=+ bem=(need (de-beam:format pax))
|
|
$(pot ~[?^(s.bem (rear s.bem) q.bem)])
|
|
:- %kiln-mount
|
|
[pax v.pot]
|