mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 18:21:34 +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.
24 lines
692 B
Plaintext
24 lines
692 B
Plaintext
::
|
|
:::: /hoon/html/mar
|
|
::
|
|
/? 310
|
|
::
|
|
:::: compute
|
|
::
|
|
=, html
|
|
^|
|
|
|_ htm/@t
|
|
++ grow :: convert to
|
|
^?
|
|
|% ::
|
|
++ mime [/text/html (met 3 htm) htm] :: to %mime
|
|
++ hymn (need (de-xml htm)) :: to %hymn
|
|
-- ::
|
|
++ grab ^?
|
|
|% :: convert from
|
|
++ noun @t :: clam from %noun
|
|
++ mime |=([p=mite q=octs] q.q) :: retrieve form $mime
|
|
--
|
|
++ grad %mime
|
|
--
|