mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 12:43:31 +03:00
10 lines
277 B
Plaintext
10 lines
277 B
Plaintext
!: :: To write a trivial Hoon program
|
|
|= * ::
|
|
|= [x=@ ~] :: For educational purposes only
|
|
:_ ~ :_ ~ ::
|
|
:- %$ :: Preserve this mysterious boilerplate square
|
|
!> ::
|
|
::::::::::::::::: Produce a value below
|
|
~& %foo
|
|
(add 2 x)
|