19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

IV <strong>Fortress</strong> for Library Writers 214<br />

32 Parallelism and Locality 215<br />

32.1 Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215<br />

32.2 Distributed Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216<br />

32.3 Abortable Atomicity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216<br />

32.4 Shared and Local Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217<br />

32.5 Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218<br />

32.6 Early Termination of Threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219<br />

32.7 Placing Threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220<br />

32.8 Use and Definition of Generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221<br />

33 Overloaded Functional Declarations 227<br />

33.1 Principles of Overloading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227<br />

33.2 Subtype Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228<br />

33.3 Incompatibility Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228<br />

33.4 More Specific Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229<br />

33.5 Coercion and Overloading Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231<br />

34 Operator Declarations 232<br />

34.1 Infix/Multifix Operator Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232<br />

34.2 Prefix Operator Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233<br />

34.3 Postfix Operator Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233<br />

34.4 Nofix Operator Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233<br />

34.5 Bracketing Operator Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234<br />

34.6 Subscripting Operator Method Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234<br />

34.7 Subscripted Assignment Operator Method Declarations . . . . . . . . . . . . . . . . . . . . . . . . . 234<br />

34.8 Conditional Operator Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235<br />

34.9 Big Operator Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235<br />

35 Dimensions and Units Declarations 236<br />

35.1 Dimensions Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236<br />

35.2 Units Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237<br />

35.3 Abbreviating Dimension and Unit Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238<br />

35.4 Absorbing Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239<br />

9

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

Saved successfully!

Ooh no, something went wrong!