BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

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

| by Anand Narayanaswamy Follow 0 Followers on Mar 16, 2013. Estimated reading time: 1 minute |

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 Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT