mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 08:34:25 +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)
|