mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
naive: remove unused arms
This commit is contained in:
parent
7b528e823f
commit
163ca690ce
@ -456,7 +456,7 @@
|
||||
=* one &5.words
|
||||
=* two &3.words
|
||||
=* tri &1.words
|
||||
=/ domains (turn ~[one two tri] |=(a=@ (swp 3 a)))
|
||||
=/ domains ~[(swp 3 one) (swp 3 two) (swp 3 tri)]
|
||||
:- [%dns domains]~
|
||||
state(dns domains)
|
||||
::
|
||||
|
@ -30,10 +30,6 @@
|
||||
::
|
||||
++ jug |$ [key value] (map key (set value))
|
||||
::
|
||||
:: Biblical
|
||||
::
|
||||
++ ruth |=([a=* b=*] ?>(?=(@ b) b))
|
||||
::
|
||||
:: Bits
|
||||
::
|
||||
++ dec :: decrement
|
||||
@ -311,23 +307,6 @@
|
||||
+<-(+ $(+<- +<->))
|
||||
--
|
||||
::
|
||||
++ turn :: transform
|
||||
~/ %turn
|
||||
|* [a=(list) b=$-(* *)]
|
||||
=> .(a (homo a))
|
||||
^- (list _?>(?=(^ a) (b i.a)))
|
||||
|-
|
||||
?~ a ~
|
||||
[i=(b i.a) t=$(a t.a)]
|
||||
::
|
||||
++ levy :: all of
|
||||
~/ %levy
|
||||
|* [a=(list) b=$-(* ?)]
|
||||
|- ^- ?
|
||||
?~ a &
|
||||
?. (b i.a) |
|
||||
$(a t.a)
|
||||
::
|
||||
++ reap :: replicate
|
||||
~/ %reap
|
||||
|* [a=@ b=*]
|
||||
|
Loading…
Reference in New Issue
Block a user