mirror of
https://github.com/urbit/shrub.git
synced 2024-11-23 20:26:54 +03:00
clay: use single-weft wafts when possible
This commit is contained in:
parent
096d54f9fc
commit
301158c40a
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:b604b45df0496baf94ac38145c3fc8d4fa9429ae02b49b33a7af4e32ad770db4
|
oid sha256:ef778204240c9a812f485d53339ff8e7a722ebeacd199a7172be8ce796edc514
|
||||||
size 5896517
|
size 7296213
|
||||||
|
@ -1033,11 +1033,13 @@
|
|||||||
++ cord-to-waft
|
++ cord-to-waft
|
||||||
|= =cord
|
|= =cord
|
||||||
^- waft
|
^- waft
|
||||||
:- [%1 ~]
|
=/ wefts=(list weft)
|
||||||
%- sy ^- (list weft)
|
%+ turn (rash cord (star (ifix [gay gay] tall:vast)))
|
||||||
%+ turn (rash cord (star (ifix [gay gay] tall:vast)))
|
|= =hoon
|
||||||
|= =hoon
|
!<(weft (slap !>(~) hoon))
|
||||||
!<(weft (slap !>(~) hoon))
|
?: ?=([* ~] wefts)
|
||||||
|
i.wefts
|
||||||
|
[[%1 ~] (sy wefts)]
|
||||||
::
|
::
|
||||||
++ waft-to-wefts
|
++ waft-to-wefts
|
||||||
|= kal=waft
|
|= kal=waft
|
||||||
|
@ -1770,7 +1770,7 @@
|
|||||||
%+ roll ~(tap in kel)
|
%+ roll ~(tap in kel)
|
||||||
|: [weft=*weft wic=wic.dom]
|
|: [weft=*weft wic=wic.dom]
|
||||||
(~(put by wic) weft yoki)
|
(~(put by wic) weft yoki)
|
||||||
=? ..park !?=(%base syd) (emit hen %pass /park-wick %c %wick ~)
|
=? ..park !?=(%base syd) (emit hen %pass /park-stuck-wick %c %wick ~)
|
||||||
%- (slog leaf+"clay: wait-for-kelvin, {<[need=zuse/zuse have=kel]>}" ~)
|
%- (slog leaf+"clay: wait-for-kelvin, {<[need=zuse/zuse have=kel]>}" ~)
|
||||||
..park
|
..park
|
||||||
=. wic.dom (~(del by wic.dom) zuse+zuse)
|
=. wic.dom (~(del by wic.dom) zuse+zuse)
|
||||||
|
Loading…
Reference in New Issue
Block a user