mirror of
https://github.com/urbit/shrub.git
synced 2024-12-16 14:58:25 +03:00
39 lines
559 B
Plaintext
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>})
|
|
==
|
|
==
|
|
--
|