mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-11 08:55:23 +03:00
language-server: address review comments
This commit is contained in:
parent
189f6cc955
commit
545fe25cd2
@ -1057,11 +1057,6 @@
|
|||||||
:: ~& [%his-clock ler.cal]
|
:: ~& [%his-clock ler.cal]
|
||||||
:: ~& [%our-clock ven.say]
|
:: ~& [%our-clock ven.say]
|
||||||
=^ dat say (~(transceive sole say) cal)
|
=^ dat say (~(transceive sole say) cal)
|
||||||
:: speedrun mode
|
|
||||||
:: =; res
|
|
||||||
:: ?. ?=(%del -.dat)
|
|
||||||
:: res
|
|
||||||
:: (he-tab:res +(p.dat))
|
|
||||||
?. ?& ?=($del -.dat)
|
?. ?& ?=($del -.dat)
|
||||||
=(+(p.dat) (lent buf.say))
|
=(+(p.dat) (lent buf.say))
|
||||||
==
|
==
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
==
|
==
|
||||||
::
|
::
|
||||||
++ runes
|
++ runes
|
||||||
|
^~
|
||||||
%- malt
|
%- malt
|
||||||
:~ :- "|$"
|
:~ :- "|$"
|
||||||
"""
|
"""
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
|%
|
|
||||||
++ trie
|
|
||||||
|$ [key-t val-t]
|
|
||||||
[val=(unit val-t) kid=(map key-t (trie key-t val-t))]
|
|
||||||
--
|
|
||||||
::
|
|
||||||
=| a=(trie * *)
|
|
||||||
=* val-t ?>(?=(^ val.a) val.a)
|
|
||||||
|@
|
|
||||||
++ put
|
|
||||||
|* [b=(list *) c=*]
|
|
||||||
=> .(b (homo b))
|
|
||||||
|- ^+ a
|
|
||||||
?~ b
|
|
||||||
a(val `c)
|
|
||||||
=/ son (~(gut by kid.a) i.b [~ ~])
|
|
||||||
a(kid (~(put by kid.a) i.b $(a son, b t.b)))
|
|
||||||
::
|
|
||||||
++ get
|
|
||||||
|* b=(list *)
|
|
||||||
=> .(b (homo b))
|
|
||||||
|-
|
|
||||||
?~ b
|
|
||||||
[~ val.a]
|
|
||||||
=/ son (~(get by kid.a) i.b)
|
|
||||||
?~ son
|
|
||||||
[b val.a]
|
|
||||||
$(a u.son, b t.b)
|
|
||||||
--
|
|
Loading…
Reference in New Issue
Block a user