next
|
previous
|
forward
|
backward
|
up
|
top
|
index
|
toc
|
home
Macaulay2
>
The Macaulay2 language
>
operators
>
or
or -- disjunction
Description
t or u
-- returns true if
t
is true or
u
is true.
If
t
is true, then the code in
u
is not evaluated.
See also
and
-- conjunction
not
-- negation
For the programmer
The object
or
is
a
keyword
.
This operator may be used as a binary operator in an expression like
x or y
. The user may install
binary methods
for handling such expressions with code such as
X or Y := (x,y) -> ...
where
X
is the class of
x
and
Y
is the class of
y
.