BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Ceylon M5 with Tuples, Verbatim Strings, Spread Operator, Late Annotation

Ceylon M5 with Tuples, Verbatim Strings, Spread Operator, Late Annotation

This item in japanese

Bookmarks

Red Hat has announced the availability of Ceylon M5 programming language codenamed Nesa Pong along with the Integrated Development Environment (IDE). Ceylon M5 includes a fully-reified type system with generic type arguments, direct interoperation with native JavaScript including a datetime module and an HTTP server.

Ceylon M5 includes support for tuples which is a linked list that captures the static type of each individual element in the list including a direct interop with native JavaScript APIs via the new dynamic block. It also provides support for lengthwise range operator : which produces a sequence of Integers given a starting point and length.

Ceylon M5 enables you to make use of fat arrow =>, forward declaration and also provides support for spread operator, late annotation, syntactic sugar for iterables, binary and hexadecimal numeric literals, defaulted type parameters and reified generics. It also includes verbatim strings that contain unescaped backslash and double-quote characters. In order to produce such string, you should enclose the string literal using three double quotes.

According to Gavin King, Lead Developer, Ceylon, RedHat the M5 release does not provide support for annotations, serialization and reflection.

The latest release also ships with a ceylon.time module, ceylon.net.http.server package, compose() and curry() functions including reworked interop with Java arrays. It also includes several important syntax changes in response to community feedback and practical experience in addition to updated language specification and documentation.

Rate this Article

Adoption
Style

BT