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