mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +03:00
Merge pull request #3694 from urbit/jb/murn-cast
hoon: adds product cast to +murn
This commit is contained in:
commit
8b499c3190
@ -625,12 +625,12 @@
|
||||
++ murn :: maybe transform
|
||||
~/ %murn
|
||||
|* {a/(list) b/$-(* (unit))}
|
||||
|-
|
||||
=> .(a (homo a))
|
||||
|- ^- (list _?>(?=(^ a) (need (b i.a))))
|
||||
?~ a ~
|
||||
=+ c=(b i.a)
|
||||
?~ c
|
||||
$(a t.a)
|
||||
[i=u.c t=$(a t.a)]
|
||||
=/ c (b i.a)
|
||||
?~ c $(a t.a)
|
||||
[+.c $(a t.a)]
|
||||
::
|
||||
++ oust :: remove
|
||||
~/ %oust
|
||||
|
Loading…
Reference in New Issue
Block a user