mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
Nock apps as Arvo apps.
This commit is contained in:
parent
5e3502ca9f
commit
0a76143abf
22
try/bin/nock.hoon
Normal file
22
try/bin/nock.hoon
Normal file
@ -0,0 +1,22 @@
|
||||
!: :: To write Nock as an Arvo application in Hoon
|
||||
|= * ::
|
||||
|= [a=* ~] :: For educational purposes only
|
||||
:_ ~ :_ ~ ::
|
||||
:- %la :: Preserve this mysterious boilerplate square
|
||||
%+ sell %noun::
|
||||
.* a :: Replace the formula with your own
|
||||
:::::::::::::::::
|
||||
:: Formula: decrement
|
||||
[ 8
|
||||
[1 0]
|
||||
[ 8
|
||||
[ 1
|
||||
[ 6
|
||||
[5 [4 0 6] [0 7]]
|
||||
[0 6]
|
||||
[9 2 [0 2] [4 0 6] [0 7]]
|
||||
]
|
||||
]
|
||||
[9 2 0 1]
|
||||
]
|
||||
]
|
Loading…
Reference in New Issue
Block a user