25.07.2014 Views

VDM-10 Language Manual

VDM-10 Language Manual

VDM-10 Language Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>VDM</strong>-<strong>10</strong> <strong>Language</strong> <strong>Manual</strong><br />

thb<br />

precedence level arithmetic set map sequence<br />

1 + - union \ munion ++ ˆ<br />

2 * / inter<br />

rem<br />

mod<br />

div<br />

3 inverse<br />

4 <br />

6 (unary) + card dom len<br />

(unary) - power rng elems<br />

abs dinter merge hd tl<br />

floor dunion conc<br />

inds<br />

Table C.1: Operator precedence<br />

precedence level relation<br />

1 = ><br />

= <br />

subset psubset<br />

in set not in set<br />

All operators in the Relations family have equal precedence. Typing dictates that there is no meaningful<br />

way of using them adjacently.<br />

C.5 The Family of Connectives<br />

This family includes all the logical operators whose result is of type bool.<br />

connective = logical prefix operator | logical infix operator ;<br />

logical prefix operator = ‘not’ ;<br />

logical infix operator = ‘and’ | ‘or’ | ‘=>’ | ‘’ ;<br />

208

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!