25.07.2014 Views

VDM-10 Language Manual

VDM-10 Language Manual

VDM-10 Language Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

A.7.5<br />

sequence head = ‘hd’ ;<br />

sequence tail = ‘tl’ ;<br />

sequence length = ‘len’ ;<br />

sequence elements = ‘elems’ ;<br />

sequence indices = ‘inds’ ;<br />

sequence reverse = ‘reverse’ ;<br />

distributed sequence concatenation = ‘conc’ ;<br />

map domain = ‘dom’ ;<br />

map range = ‘rng’ ;<br />

distributed map merge = ‘merge’ ;<br />

map inverse = ‘inverse’, expression ;<br />

Binary Expressions<br />

binary expression = expression, binary operator, expression ;<br />

binary operator = arithmetic plus<br />

| arithmetic minus<br />

| arithmetic multiplication<br />

| arithmetic divide<br />

| arithmetic integer division<br />

| arithmetic rem<br />

| arithmetic mod<br />

| less than<br />

| less than or equal<br />

| greater than<br />

| greater than or equal<br />

| equal<br />

| not equal<br />

| or<br />

| and<br />

| imply<br />

| logical equivalence<br />

| in set<br />

186

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

Saved successfully!

Ooh no, something went wrong!