Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Sudan-function/Hoon/sudan-function.hoon
Normal file
8
Task/Sudan-function/Hoon/sudan-function.hoon
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|= [n=@ x=@ y=@]
|
||||
^- @
|
||||
|-
|
||||
?: =(n 0)
|
||||
(add x y)
|
||||
?: =(y 0)
|
||||
x
|
||||
$(n (dec n), x $(n n, x x, y (dec y)), y (add $(n n, x x, y (dec y)) y))
|
||||
Loading…
Add table
Add a link
Reference in a new issue