The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Sidef::Types::Range::Range

DESCRIPTION

This class implements ...

SYNOPSIS

var obj = Range(...)

METHODS

*

    a * b

Returns the

Aliases: mul

+

    a + b

Returns the

Aliases: add

-

    a - b

Returns the

Aliases: sub

...

    a ... b

Returns the

Aliases: to_list

/

    a / b

Returns the

Aliases: ÷, div

==

    a == b

Returns the

Aliases: eq

    a ≠ b

Returns the

Aliases: !=, ne

accumulate

    self.accumulate(arg)

Returns the

accumulate_by

    self.accumulate_by(arg)

Returns the

all

    self.all(block)

Returns the

any

    self.any(block)

Returns the

bounds

    self.bounds

Returns the

by

    self.by(step)

Returns the

cons

    self.cons(n, block)

Returns the

Aliases: map_cons

contain

    self.contain(value)

Returns the

Aliases: include, contains, includes

count

    self.count(arg)

Returns the

count_by

    self.count_by(arg)

Returns the

cross_operator

    self.cross_operator(*args)

Returns the

each_cons

    self.each_cons(n, block)

Returns the

each_slice

    self.each_slice(n, block)

Returns the

first_by

    self.first_by(block)

Returns the

flip

    self.flip

Returns the

Aliases: reverse

for

    self.for(block)

Returns the

Aliases: each, foreach

from

    self.from(from)

Returns the

grep

    self.grep(block)

Returns the

Aliases: select

    self.head(num)

Returns the

Aliases: first

join

    self.join(sep)

Returns the

kv

    self.kv

Returns the

Aliases: pairs, zip_indices

last

    self.last(num)

Returns the

Aliases: tail

last_by

    self.last_by(block)

Returns the

len

    self.len

Returns the

Aliases: length

map

    self.map(block)

Returns the

map_operator

    self.map_operator(*args)

Returns the

max

    self.max(block)

Returns the

max_by

    self.max_by(block)

Returns the

min

    self.min(block)

Returns the

min_by

    self.min_by(block)

Returns the

neg

    self.neg

Returns the

new

    self.new

Returns the

Aliases: call

none

    self.none(block)

Returns the

pam_operator

    self.pam_operator(*args)

Returns the

pick

    self.pick(n)

Returns the

rand

    self.rand(n)

Returns the

Aliases: sample

reduce

    self.reduce(op, initial)

Returns the

reduce_operator

    self.reduce_operator(op, initial)

Returns the

shuffle

    self.shuffle

Returns the

slices

    self.slices(n, block)

Returns the

Aliases: map_slice

sort

    self.sort(block)

Returns the

sort_by

    self.sort_by(block)

Returns the

step

    self.step

Returns the

to

    self.to(to)

Returns the

to_a

    self.to_a

Returns the

Aliases: to_array

to_v

    self.to_v

Returns the

Aliases: to_vec, to_vector

unroll_operator

    self.unroll_operator(*args)

Returns the

while

    self.while(block)

Returns the

zip_operator

    self.zip_operator(*args)

Returns the