Nock apps as Arvo apps.

This commit is contained in:
C. Guy Yarvin 2013-11-22 12:46:43 -08:00
parent 5e3502ca9f
commit 0a76143abf

22
try/bin/nock.hoon Normal file
View 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]
]
]