urbit/pkg/arvo/mar/tang.hoon
ronreg-ribdev a5d661f2d1 mar: use new-style gate argument syntax in /mar
Switch a bunch of .hoon files in /mar from using
the old `{}` syntax for specifying argument types, to the
newer `[argname=argtype]` syntax.
2020-11-24 14:16:20 -08:00

23 lines
448 B
Plaintext

::
:::: /hoon/tang/mar
::
/? 310
::
=, format
|_ tan/(list tank)
++ grad %noun
++ grow
|%
++ noun tan
++ elem
=- ;pre:code:"{(of-wall -)}"
^- wall %- zing ^- (list wall)
(turn (flop tan) |=(a=tank (wash 0^160 a)))
--
++ grab :: convert from
|%
++ noun (list ^tank) :: clam from %noun
++ tank |=(a=^tank [a]~)
--
--