summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-02-28 20:20:03 +0000
committerMorgan Deters <mdeters@gmail.com>2012-02-28 20:20:03 +0000
commit6645d5d6f4a4bac8281c6156773364bb493a4a7e (patch)
tree7531133f04fe22fa58c857998eb43a3bfef27617 /src/theory
parente49a6b52328ed5f8c77f865b3d068f867ce8054d (diff)
fix theory "kinds" file documentation for allowed arity of operators
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/builtin/kinds13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/theory/builtin/kinds b/src/theory/builtin/kinds
index b7329cb3a..61abfbfaf 100644
--- a/src/theory/builtin/kinds
+++ b/src/theory/builtin/kinds
@@ -88,9 +88,9 @@
# Alternatively, a range can be specified for #children as
# "LB:[UB]", LB and UB representing lower and upper bounds on the
# number of children (inclusive). If there is no lower bound, put
-# a "0". If there is no upper bound, leave the colon after LB,
-# but omit UB. For example, an N-ary operator might be defined
-# as:
+# a "1" (operators must have at least one child). If there is no
+# upper bound, leave the colon after LB, but omit UB. For example,
+# an N-ary operator might be defined as:
#
# operator PLUS 2: "addition on two or more arguments"
#
@@ -106,9 +106,10 @@
# this operator's parameters, and don't include the operator
# itself (here, there are only two children "x" and "y").
#
-# LB and UB are the same as documented for the operator command.
-# The first parameter (the function being applied) does not count
-# as a child.
+# LB and UB are the same as documented for the operator command,
+# except that parameterized operators may have zero children. The
+# first parameter (the function being applied) does not count as a
+# child.
#
# For consistency these should start with "APPLY_", but this is
# not enforced.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback