mirror of
https://github.com/urbit/ares.git
synced 2024-12-25 22:34:08 +03:00
hoon: add +homo
This commit is contained in:
parent
85d9c03407
commit
b85f5f5c97
@ -206,6 +206,13 @@
|
|||||||
?~ a b
|
?~ a b
|
||||||
$(a t.a, b [i.a b])
|
$(a t.a, b [i.a b])
|
||||||
::
|
::
|
||||||
|
++ homo :: homogenize
|
||||||
|
|* a=(list)
|
||||||
|
^+ =< $
|
||||||
|
|@ ++ $ ?:(*? ~ [i=(snag 0 a) t=$])
|
||||||
|
--
|
||||||
|
a
|
||||||
|
::
|
||||||
++ lent :: length
|
++ lent :: length
|
||||||
~/ %lent
|
~/ %lent
|
||||||
|= a=(list)
|
|= a=(list)
|
||||||
|
Loading…
Reference in New Issue
Block a user