aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Table.xor.3
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-07-10 14:45:07 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-07-10 14:45:07 -0400
commit394da24c854fdd2dc08e37090263972b732f5424 (patch)
tree5fafbf0b64b0883d176418747b45b7d8316ca6c9 /man/man3/tomo-Table.xor.3
parent39501916acc08208360d9f920af425d0e8e230bb (diff)
parentcd1e9b5fd52dbc993463d58c41895aba9cd78966 (diff)
Merge branch 'main' into decimals
Diffstat (limited to 'man/man3/tomo-Table.xor.3')
-rw-r--r--man/man3/tomo-Table.xor.335
1 files changed, 35 insertions, 0 deletions
diff --git a/man/man3/tomo-Table.xor.3 b/man/man3/tomo-Table.xor.3
new file mode 100644
index 00000000..8d3cb8f2
--- /dev/null
+++ b/man/man3/tomo-Table.xor.3
@@ -0,0 +1,35 @@
+'\" t
+.\" Copyright (c) 2025 Bruce Hill
+.\" All rights reserved.
+.\"
+.TH Table.xor 3 2025-06-24 "Tomo man-pages"
+.SH NAME
+Table.xor \- symmetric difference
+.SH LIBRARY
+Tomo Standard Library
+.SH SYNOPSIS
+.nf
+.BI Table.xor\ :\ func(a:\ |T|,\ b:\ |T|\ ->\ |T|)
+.fi
+.SH DESCRIPTION
+Return set with the elements in one, but not both of the arguments. This is also known as the symmetric difference or disjunctive union.
+
+
+.SH ARGUMENTS
+
+.TS
+allbox;
+lb lb lbx lb
+l l l l.
+Name Type Description Default
+a |T| The first set. -
+b |T| The second set. -
+.TE
+.SH RETURN
+A set with the symmetric difference of the arguments.
+
+.SH EXAMPLES
+.EX
+>> |1, 2, 3|.xor(|2, 3, 4|)
+= |1, 4|
+.EE