We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 125444c commit 4c80f81Copy full SHA for 4c80f81
1 file changed
www/midterms/1.scrbl
@@ -159,7 +159,7 @@ at its arguments, at the bitlevel. For example:
159
(bitwise-xor #t) ; contract violation
160
161
; xor with two arguments is their bitwise xor
162
-(bitwise-xor 1 2) = 0 ; Indeed: 1 = #b01, 2 = #b10
+(bitwise-xor 1 2) = 3 ; Indeed: 1 = #b01, 2 = #b10
163
(bitwise-xor 1 3) = 2 ; Indeed: 1 = #b01, 3 = #b11, 2 = #b10
164
165
; xor with multiple arguments just performs the xor in sequence:
0 commit comments