shrub/pkg/arvo/mar/mime.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

30 lines
480 B
Plaintext

::
:::: /hoon/mime/mar
::
/? 310
::
^|
|_ own/mime
++ grow
^?
|%
++ jam `@`q.q.own
--
::
++ grab :: convert from
^?
|%
+$ noun mime :: clam from %noun
++ tape
|=(a=^tape [/application/x-urb-unknown (as-octt:mimes:html a)])
--
++ grad
^?
|%
++ form %mime
++ diff |=(mime +<)
++ pact |=(mime +<)
++ join |=({mime mime} `(unit mime)`~)
--
--