mirror of
https://github.com/urbit/shrub.git
synced 2025-01-05 19:46:50 +03:00
better variable handling
This commit is contained in:
parent
8becbe80a4
commit
31a8dcaedb
@ -1,4 +1,4 @@
|
||||
:: :: ::
|
||||
:: :: ::
|
||||
:::: /hoon/dojo/app :: ::::
|
||||
:: :: ::
|
||||
/? 314 :: arvo kelvin
|
||||
@ -495,11 +495,11 @@
|
||||
++ dy-twig-head :: dynamic state
|
||||
^- cage
|
||||
:- %noun
|
||||
=+ sloop=|=([a=vase b=vase] ?:(=(*vase a) b (slop a b)))
|
||||
=+ sloop=|=([a=vase b=vase] ?:(=(*vase a) b ?:(=(*vase b) a (slop a b))))
|
||||
%+ sloop
|
||||
%- ~(rep by var)
|
||||
|= [[a=term @ b=vase] c=vase] ^- vase
|
||||
(sloop c face/[a p.b] q.b)
|
||||
(sloop b(p face/[a p.b]) c)
|
||||
!> ^- $: law=desk dir=path
|
||||
[lib=(list hoof) arc=(list hoof)]
|
||||
[our=@p now=@da eny=@uvI]
|
||||
|
Loading…
Reference in New Issue
Block a user