Want to learn?

Ranges

Representation

Documentation

The range is a discrete number of values where the first and last values are integers separated with two dots. It can be either increasing or decreasing. In most cases, you can make use of it whenever you need to iterate over a set of numbers.

iex> 1..5
1..5
iex> 5..1
5..1

It's worth to note that both ends of the range are also a part of it:

iex> range = 1..5
1..5
iex> Enum.member? range, 1
true
iex> Enum.member? range, 5
true
Check our latest product - it's based on our experience of managing over 50-people strong company. The tool we're missing as a small company and not an enterprise.

humadroid.io is an employee and performance management software. It's an unique tool allowing everyone to be in the loop - by having up to date info about co-workers, time-off, benefits, assets, helping with one-on-ones, being a go-to place for company-wide announcements.

Check out humadroid.io
Top

Contact us

* Required fields

The controller of your personal data provided via this contact form is Prograils sp. z o.o., with a registered seat at Sczanieckiej 9A/10, 60-215 PoznaƄ. Your personal data will be processed in order to respond to your inquiries and for our marketing purposes (e.g. when you ask us for our post-development, maintenance or ad hoc engagements for your app). You have the rights to: access your personal data, rectify or erase your personal data, restrict the processing of your personal data, data portability and to object to the processing of your personal data. Learn more.

Notice

We do not track you online. We use only session cookies and anonymous identifiers for the purposes specified in the cookie policy. No third-party trackers.

I understand
Elo Mordo!Elo Mordo!