mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
a539d986a7
In favor of [type] syntax. Turns a bunch of ++ into +$ along the way.
30 lines
478 B
Plaintext
30 lines
478 B
Plaintext
::
|
|
:::: /hoon/mime/mar
|
|
::
|
|
/? 310
|
|
::
|
|
^|
|
|
|_ own=mime
|
|
++ grow
|
|
^?
|
|
|%
|
|
++ jam `@`q.q.own
|
|
--
|
|
::
|
|
++ grab :: convert from
|
|
^?
|
|
|%
|
|
+$ noun mime :: clam from %noun
|
|
++ tape
|
|
|=(a=_"" [/application/x-urb-unknown (as-octt:mimes:html a)])
|
|
--
|
|
++ grad
|
|
^?
|
|
|%
|
|
++ form %mime
|
|
++ diff |=(mime +<)
|
|
++ pact |=(mime +<)
|
|
++ join |=([mime mime] `(unit mime)`~)
|
|
--
|
|
--
|