mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 20:04:35 +03:00
a5d661f2d1
Switch a bunch of .hoon files in /mar from using the old `{}` syntax for specifying argument types, to the newer `[argname=argtype]` syntax.
22 lines
685 B
Plaintext
22 lines
685 B
Plaintext
::
|
|
:::: /hoon/xml/mar
|
|
::
|
|
/? 310
|
|
::
|
|
:::: compute
|
|
::
|
|
=, mimes:html
|
|
=, html
|
|
|_ xml/@t
|
|
::
|
|
++ grad %mime
|
|
++ grow :: convert to
|
|
|% ::
|
|
++ mime [/application/xml (as-octs xml)] :: to %mime
|
|
++ hymn (need (de-xml xml)) :: to %hymn
|
|
-- ::
|
|
++ grab |% :: convert from
|
|
++ noun @t :: clam from %noun
|
|
++ mime |=([p=mite q=octs] q.q) :: retrieve form $mime
|
|
-- --
|