PLDB
Languages Patterns Calendar About Lists Join

Range Operator

Range Operator

Range Operator is a design pattern. A shorthand way for creating arrays.

Languages with Range Operator include haskell, perl, ruby

Example from Perl:

# https://users.cs.cf.ac.uk/Dave.Marshall/PERL/node38.html @array = (1..10);

Example from Ruby:

(3...6)

Article source

PLDB - Build the next great programming language. v5.0.0 - Email ยท Github