Language and System Changes in Maple 8
|
Maple 8 includes the following language and system changes.
|
|
Lexical Structure
|
|
|
In Maple 8, the question mark character (?) can appear in identifiers, after the first character, without enclosing the symbol in left single quotes.
|
| (1) |
|
Maple returns an error if a question mark character appears as the first character in an unquoted identifier.
|
|
|
The in Operator
|
|
|
In Maple 8, the keyword in can also be used as an infix operator, representing the membership relation.
|
| (2) |
| (3) |
|
A new inert SetOf operator is recognized by in. It is used to form the extension of a type or property.
|
>
|
evalb( 13 in 'SetOf( integer )' );
|
| (4) |
>
|
is( a in 'SetOf( real )' ) assuming a::real;
|
| (5) |
|
|
Division ( )
|
|
•
|
The division procedure , when called as a function, now accepts 1 argument, in which case it returns the reciprocal of that argument. When used as an operator, however, two operands are still required.
|
| (6) |
| (7) |
| (8) |
|
|