shrub/main/app/foobug/core.hoon

39 lines
559 B
Plaintext
Raw Normal View History

2014-06-13 02:10:32 +04:00
!:
2014-06-08 07:05:32 +04:00
=> |%
++ foobug-state
2014-06-13 02:10:32 +04:00
$% [%0 bug=@ud]
2014-06-08 07:05:32 +04:00
==
--
|= *
|_ [hid=hide foo=foobug-state]
2014-06-08 07:05:32 +04:00
++ prep
2014-06-11 18:06:36 +04:00
|= old=(unit foobug-state)
?~ old +>
~& [%prep-hid hid]
2014-06-11 18:06:36 +04:00
+>(foo u.old)
::
2014-06-08 07:05:32 +04:00
++ save
^- foobug-state
2014-06-12 07:47:57 +04:00
foo(bug +(bug.foo))
2014-06-08 07:05:32 +04:00
::
++ peer
2014-06-10 10:20:41 +04:00
|= [ost=bone you=ship pax=path]
2014-06-11 18:06:36 +04:00
~& [%peer [ost you pax]]
2014-06-08 07:05:32 +04:00
:_ +> :_ ~
:+ ost %give
:- %rust
:- %html
%- crip
%+ xmlt |
:_ ~
^- manx
;html
;head
2014-06-12 07:47:57 +04:00
;title: Hi, everyone!
2014-06-08 07:05:32 +04:00
==
;body
2014-06-14 04:38:51 +04:00
;p: Hello, world (instance {<bug.foo>})
2014-06-08 07:05:32 +04:00
==
==
--