urbit/main/app/foobug/core.hoon

41 lines
559 B
Plaintext
Raw Normal View History

2014-06-08 07:05:32 +04:00
!:
=> |%
++ foobug-state
$% [%0 bug=@ud]
==
--
|= *
|_ [hide foo=foobug-state]
++ prep
2014-06-11 18:06:36 +04:00
|= old=(unit foobug-state)
?~ old +>
+>(foo u.old)
::
2014-06-08 07:05:32 +04:00
++ save
^- foobug-state
foo
::
++ peer
2014-06-10 10:20:41 +04:00
|= [ost=bone you=ship pax=path]
2014-06-11 18:06:36 +04:00
~& %peer
~& [%peer `*`[ost you pax]]
~& [%peer-foo `*`foo]
~& [%peer [ost you pax]]
2014-06-08 07:05:32 +04:00
:_ +> :_ ~
:+ ost %give
:- %rust
:- %html
%- crip
%+ xmlt |
:_ ~
^- manx
;html
;head
2014-06-11 18:06:36 +04:00
;title: Hi, Philip!
2014-06-08 07:05:32 +04:00
==
;body
;p: Yo, world.
==
==
--