mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 14:37:05 +03:00
hoon: adds atom map gates +run and +rut
This commit is contained in:
parent
12bf28e2c8
commit
3f71826d6b
@ -928,6 +928,16 @@
|
||||
|= [a=bloq b=step c=@]
|
||||
(div c (bex (mul (bex a) b)))
|
||||
::
|
||||
++ run :: +turn into atom
|
||||
~/ %run
|
||||
|= [a=bite b=@ c=$-(@ @)]
|
||||
(rep a (turn (rip a b) c))
|
||||
::
|
||||
++ rut :: +turn into list
|
||||
~/ %rut
|
||||
|* [a=bite b=@ c=$-(@ *)]
|
||||
(turn (rip a b) c)
|
||||
::
|
||||
++ sew :: stitch into
|
||||
~/ %sew
|
||||
|= [a=bloq [b=step c=step d=@] e=@]
|
||||
|
Loading…
Reference in New Issue
Block a user