Ranges - bali-nebula/go-component-framework GitHub Wiki

⚠️ This project is still under development and is for reference purposes only. If you are interested in this project or have suggestions on how to improve it feel free to contact us at [email protected].

Overview

A range is a type of mutable entity that specifies a range of primitive values by identifying the first and last values (i.e. the endpoints) in the range. If the endpoints are discrete values the values in the range can be iterated over. Each endpoint may or may not be included in the range.

Click on a specific range type heading below to get design and implementation details for that range type.

Continua

A continuum is a continuous range of (generally) numeric values. Since the range is continuous, it's values cannot be iterated over.

Click here for the Bali representation of continuous ranges.

Intervals

A continuum is a continuous range of (generally) numeric values. Since the range is continuous, it's values cannot be iterated over.

Click here for the Bali representation of discrete ranges.

Spectra

A spectrum is a discrete but infinite range of lexical values. Since the range is infinite, it's values cannot be iterated over.

Click here for the Bali representation of lexical ranges.