Much care was taken not to damage the current type resolution system, so these new rules are only applicable when used with user defined operators. Some example libraries are included with the 0.9beta release - firstly a complex number library that supports the use of the standard operators on a complex type. Please see the documents by David Wood on this and other similar libraries, including INT128 s, REAL128 s, REAL80 s, REAL40 s, sets, and a rational numbers library. There is also a new dynamic string library that actually allocates memory for strings in the C world, using occam types to hold pointers to them. All the other comparison operators are also available.
Documentation is included with the release.
This will compile prog.occ with the experimental compiler additions enabled. All Rights Reserved.