Contents
What's new? (Ela Platform 2016.3)
Overview
Ela changes
Ela library changes
Elide changes
Ela documentation

Overview

Ela Platform 2016.3 is an iterative release that focuses on Ela standard library. It also comes with updated versions of Ela and Elide and expands Ela documentation.

Ela changes

Ela compiler has the following changes:

Ela library changes

The biggest change in a standard library is an addition of a new measure module. This module implements units of measurement, which are typically used to indicate length, volume, mass, and so on. Units can be used to operate with compatible units (such as grams or kilograms) without the need of explicit convertion, which helps prevent programming errors:
open measure
g = measure.atom "g" //Define "grams" as a measurement unit
kg = measure.complex "kg" 1000 g //Define "kilograms" through grams

//Build some literal values
literal'g = measure.value g //for grams
literal'k = measure.value kg //for kilograms

//Perform standard operations with values
show $ 12.03k + 430g //The result is: "12460f"
More details are available in module documentation:
Ela standard library has other changes and additions as well:

Elide changes

Ela Platform 2016.3 comes with a new version of Elide that addresses a bug related to AST view generation and adds a support for displaying a do-notation inside an AST view.

Ela documentation

Besides updates to the library reference this version of Ela Platform comes with notable updates in the language reference: