mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
25 lines
274 B
Plaintext
25 lines
274 B
Plaintext
?> ?=([@ @] .)
|
|
%. .
|
|
|= [x=@ y=@]
|
|
=- (add:all x y)
|
|
^= all
|
|
=> %164
|
|
~% %k164 ~ ~
|
|
|%
|
|
++ add
|
|
~/ %add
|
|
|= [a=@ b=@]
|
|
^- @
|
|
?: =(0 a) b
|
|
$(a (dec a), b +(b))
|
|
::
|
|
++ dec
|
|
~/ %dec
|
|
|= a=@
|
|
?< =(0 a)
|
|
=+ b=0
|
|
|- ^- @
|
|
?: =(a +(b)) b
|
|
$(b +(b))
|
|
--
|