mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
Demo app.
This commit is contained in:
parent
82a9ce1211
commit
e84c4e258d
35
main/app/foobug/core.hoon
Normal file
35
main/app/foobug/core.hoon
Normal file
@ -0,0 +1,35 @@
|
||||
!:
|
||||
=> |%
|
||||
++ foobug-state
|
||||
$% [%0 bug=@ud]
|
||||
==
|
||||
--
|
||||
|= *
|
||||
|_ [hide foo=foobug-state]
|
||||
++ prep
|
||||
|= old=foobug-state
|
||||
+>(foo old)
|
||||
++ save
|
||||
^- foobug-state
|
||||
foo
|
||||
::
|
||||
++ peer
|
||||
|= [ost=bone aud=kirk web=? hup=(unit (pair ,? path))]
|
||||
~& [%peer lat.seq]
|
||||
:_ +> :_ ~
|
||||
:+ ost %give
|
||||
:- %rust
|
||||
:- %html
|
||||
%- crip
|
||||
%+ xmlt |
|
||||
:_ ~
|
||||
^- manx
|
||||
;html
|
||||
;head
|
||||
;title: Hi, Pi!
|
||||
==
|
||||
;body
|
||||
;p: Yo, world.
|
||||
==
|
||||
==
|
||||
--
|
Loading…
Reference in New Issue
Block a user