BT

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

by Anand Narayanaswamy on Mar 16, 2013 |

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.

Hello stranger!

You need to Register an InfoQ account or 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

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT