aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/Logic/Binary.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'std/Logic/Binary.bruijn')
-rw-r--r--std/Logic/Binary.bruijn2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/Logic/Binary.bruijn b/std/Logic/Binary.bruijn
index b16595c..b5eec13 100644
--- a/std/Logic/Binary.bruijn
+++ b/std/Logic/Binary.bruijn
@@ -56,6 +56,8 @@ nor? [[1 1 0 false true]] ⧗ Boolean → Boolean → Boolean
# true if args are not same bools
xor? [[0 (1 false 0) 1]] ⧗ Boolean → Boolean → Boolean
+…^?… xor?
+
:test (xor? true true) (false)
:test (xor? true false) (true)
:test (xor? false true) (true)