mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
Switch to %fits for kelp testing.
This commit is contained in:
parent
59ebad05a0
commit
a4081b1af9
@ -7002,9 +7002,12 @@
|
|||||||
rep/(list line)
|
rep/(list line)
|
||||||
==
|
==
|
||||||
|- ^- hoon
|
|- ^- hoon
|
||||||
|
:: tup: tuple matching this line
|
||||||
|
::
|
||||||
|
=/ tup/crib [%tupl p.one q.one ~]
|
||||||
:: if no other choices, construct head
|
:: if no other choices, construct head
|
||||||
::
|
::
|
||||||
?~ rep relative:clear(mod [%tupl p.one q.one ~])
|
?~ rep relative:clear(mod tup)
|
||||||
:: fin: loop completion
|
:: fin: loop completion
|
||||||
::
|
::
|
||||||
=/ fin/hoon $(one i.rep, rep t.rep)
|
=/ fin/hoon $(one i.rep, rep t.rep)
|
||||||
@ -7013,7 +7016,9 @@
|
|||||||
:^ %wtcl
|
:^ %wtcl
|
||||||
:: test if the head matches this wing
|
:: test if the head matches this wing
|
||||||
::
|
::
|
||||||
[%wtts p.one fetch-wing(axe (peg axe 2))]
|
:+ %fits
|
||||||
|
[%tsgl [%$ 2] example:clear(mod tup)]
|
||||||
|
fetch-wing(axe (peg axe 2))
|
||||||
:: if so, use this form
|
:: if so, use this form
|
||||||
::
|
::
|
||||||
:- [%rock p.p.one q.p.one]
|
:- [%rock p.p.one q.p.one]
|
||||||
|
Loading…
Reference in New Issue
Block a user