hoon: add +homo

This commit is contained in:
Alex Shelkovnykov 2023-09-04 15:42:43 -06:00
parent 85d9c03407
commit b85f5f5c97

View File

@ -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)