oh yeah xor
This commit is contained in:
parent
81ea4a4410
commit
3c3d2ffd6b
|
@ -22,7 +22,7 @@
|
|||
|
||||
(printnum (& (- 10) 0xff))
|
||||
(printnum (| 10 0x8000))
|
||||
|
||||
(printnum (^ 0xff00 0x0ff0))
|
||||
(TextShutDown)
|
||||
(IMShutDown)
|
||||
(MMShutDown UserID)
|
||||
|
|
|
@ -270,6 +270,7 @@
|
|||
first ...)))
|
||||
:| (lambda [self first ...] (self:accumulation-op #(self:simple-accumulator :ora $...) first ...))
|
||||
:& (lambda [self first ...] (self:accumulation-op #(self:simple-accumulator :and $...) first ...))
|
||||
:^ (lambda [self first ...] (self:accumulation-op #(self:simple-accumulator :eor $...) first ...))
|
||||
:= (lambda [self lhs rhs] (self:cmp-to-bool := lhs rhs))
|
||||
:not= (lambda [self lhs rhs] (self:cmp-to-bool :not= lhs rhs))
|
||||
:< (lambda [self lhs rhs] (self:cmp-to-bool :< lhs rhs))
|
||||
|
|
Loading…
Reference in a new issue