mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 20:01:32 +03:00
9 lines
245 B
Plaintext
9 lines
245 B
Plaintext
|
:: hoon data to json
|
||
|
::
|
||
|
:::: /hoon/map-to-json/lib
|
||
|
::
|
||
|
/? 310
|
||
|
|* {a/_cord b/_json} :: XX {a/$-(* cord) b/$-(* json)}
|
||
|
|= c/(map _+<.a _+<.b)
|
||
|
(jobe (turn (~(tap by c)) |*(d/^ [(a -.d) (b +.d)])))
|