forked from urbit/archaeology
-
Notifications
You must be signed in to change notification settings - Fork 0
Hoon dis
Adam Bliss edited this page Oct 25, 2013
·
1 revision
++ dis :: binary and
~/ %dis
|= [a=@ b=@]
=+ [c=@ d=@]
|- ^- @
?: ?|(=(0 a) =(0 b))
d
%= $
a (rsh 0 1 a)
b (rsh 0 1 b)
c +(c)
d (add d (lsh 0 c ?|(=(0 (end 0 1 a)) =(0 (end 0 1 b)))))
==
Parts of this document are generated automatically. Edits within the comments section will be preserved.