mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
Atomic single app paths
This commit is contained in:
parent
22859f89ee
commit
82cb4b8b2e
@ -205,6 +205,8 @@
|
||||
++ lamp
|
||||
|= con=(unit coin)
|
||||
^- (unit path)
|
||||
?: ?=([~ %$ %tas @] con)
|
||||
(some [q.p.u.con]~)
|
||||
?. ?=([~ %many *] con) ~
|
||||
%- zl:jo
|
||||
%+ turn p.u.con
|
||||
@ -566,7 +568,9 @@
|
||||
::
|
||||
++ away :: application path
|
||||
|= pax=path ^- path
|
||||
=+ imc=[%many (turn imp |=(a=span [%$ %ta a]))]
|
||||
=+ ?: &(?=([@tas ~] imp) ((sane %tas) i.imp))
|
||||
imc=[%$ %tas i.imp]
|
||||
imc=[%many (turn imp |=(a=span [%$ %ta a]))]
|
||||
[%a (scot %p our) ~(rent co imc) pax]
|
||||
::
|
||||
++ bear :: write backward
|
||||
|
Loading…
Reference in New Issue
Block a user