mirror of
https://github.com/urbit/shrub.git
synced 2025-01-07 13:37:36 +03:00
ford alts
This commit is contained in:
parent
c378387232
commit
92a308d474
@ -1156,6 +1156,12 @@
|
|||||||
:: (flaw cof leaf/"file not found" (smyt (tope r.kas)) ~)
|
:: (flaw cof leaf/"file not found" (smyt (tope r.kas)) ~)
|
||||||
:: (fine cof [%& p.kas u.vux])
|
:: (fine cof [%& p.kas u.vux])
|
||||||
:: ::
|
:: ::
|
||||||
|
%alts
|
||||||
|
%. cof
|
||||||
|
|= cof=cafe ^- (bolt gage)
|
||||||
|
?~ p.kas (flaw cof leaf/"ford: out of options" ~)
|
||||||
|
(coop ^$(cof cof, kas i.p.kas) ..$(p.kas t.p.kas))
|
||||||
|
::
|
||||||
%bake
|
%bake
|
||||||
^- (bolt gage)
|
^- (bolt gage)
|
||||||
%+ cool |.(leaf/"ford: bake {<p.kas>} {<(tope r.kas)>} {~(rend co q.kas)}")
|
%+ cool |.(leaf/"ford: bake {<p.kas>} {<(tope r.kas)>} {~(rend co q.kas)}")
|
||||||
|
@ -2510,6 +2510,7 @@
|
|||||||
++ silk :: construction layer
|
++ silk :: construction layer
|
||||||
$& [p=silk q=silk] :: cons
|
$& [p=silk q=silk] :: cons
|
||||||
$% [%$ p=cage] :: literal
|
$% [%$ p=cage] :: literal
|
||||||
|
[%alts p=(list silk)] :: options
|
||||||
[%bake p=mark q=coin r=beam] :: local synthesis
|
[%bake p=mark q=coin r=beam] :: local synthesis
|
||||||
[%bunt p=mark] :: example of mark
|
[%bunt p=mark] :: example of mark
|
||||||
[%call p=silk q=silk] :: slam
|
[%call p=silk q=silk] :: slam
|
||||||
|
Loading…
Reference in New Issue
Block a user