urbit/mar/hall/prize.hoon
Fang ee1ca40f34 Renamed %talk-guardian to %hall, %talk-agent to %talk.
In /sur, /gen, /mar, /lib renamed files/folders from "talk" to "hall".
2017-11-07 22:05:52 +01:00

39 lines
921 B
Plaintext

::
:::: /mar/hall/prize/hoon
::
/- hall
/+ hall-json
::
|_ piz/prize:hall
::
++ grab ::> convert from
|%
++ noun prize:hall ::< from %noun
++ json ::> from %json
=> [. dejs:hall-json] ::TODO =,
=, dejs-soft:format
|= a/json
^- prize:hall
=- (need ((of -) a))
:~ reader+pire
public+(as circ)
:: burden not needed
circle+pack
==
--
::
++ grow ::> convert to
|%
++ json ::> to %json
=> [. enjs:hall-json] ::TODO =,
=, enjs:format
%+ frond -.piz
?+ -.piz !!
$reader (pire +.piz)
$public (sa cis.piz circ)
:: burden not needed
$circle (pack +.piz)
==
--
--