mirror of
https://github.com/urbit/shrub.git
synced 2024-12-13 06:25:09 +03:00
Merge commit '450f0' into cc-merge
This commit is contained in:
commit
04dad74b25
@ -798,20 +798,15 @@
|
||||
++ ta-ser :: reverse search
|
||||
|= ext/(list @c)
|
||||
^+ +>
|
||||
?: |(?=($~ ris) =(0 pos.u.ris)) ta-bel
|
||||
?: |(?=($~ ris) =(0 pos.u.ris))
|
||||
ta-bel
|
||||
=+ sop=?~(ext (dec pos.u.ris) pos.u.ris)
|
||||
=+ tot=(weld str.u.ris ext)
|
||||
=+ dol=(slag (sub num.hit sop) old.hit)
|
||||
=+ ^= ser
|
||||
=+ ^= beg
|
||||
|= {a/(list @c) b/(list @c)} ^- ?
|
||||
?~(a & ?~(b | &(=(i.a i.b) $(a t.a, b t.b))))
|
||||
|= {a/(list @c) b/(list @c)} ^- ?
|
||||
?~(a & ?~(b | |((beg a b) $(b t.b))))
|
||||
=+ ^= sup
|
||||
=/ sup
|
||||
|- ^- (unit @ud)
|
||||
?~ dol ~
|
||||
?: (ser tot i.dol)
|
||||
?^ (find tot i.dol)
|
||||
`sop
|
||||
$(sop (dec sop), dol t.dol)
|
||||
?~ sup ta-bel
|
||||
|
Loading…
Reference in New Issue
Block a user