urbit/try/bin/toy.hoon

10 lines
277 B
Plaintext
Raw Normal View History

2014-01-16 10:43:56 +04:00
!: :: To write a trivial Hoon program
|= * ::
2014-01-30 02:51:12 +04:00
|= [x=@ ~] :: For educational purposes only
2014-01-16 10:43:56 +04:00
:_ ~ :_ ~ ::
:- %$ :: Preserve this mysterious boilerplate square
!> ::
::::::::::::::::: Produce a value below
2014-02-10 21:50:20 +04:00
~& %foo
2014-01-30 02:51:12 +04:00
(add 2 x)