shrub/main/app/foobug/core.hoon
2014-06-13 17:38:51 -07:00

39 lines
559 B
Plaintext

!:
=> |%
++ foobug-state
$% [%0 bug=@ud]
==
--
|= *
|_ [hid=hide foo=foobug-state]
++ prep
|= old=(unit foobug-state)
?~ old +>
~& [%prep-hid hid]
+>(foo u.old)
::
++ save
^- foobug-state
foo(bug +(bug.foo))
::
++ peer
|= [ost=bone you=ship pax=path]
~& [%peer [ost you pax]]
:_ +> :_ ~
:+ ost %give
:- %rust
:- %html
%- crip
%+ xmlt |
:_ ~
^- manx
;html
;head
;title: Hi, everyone!
==
;body
;p: Hello, world (instance {<bug.foo>})
==
==
--