NAME
Sidef::Object::Lazy
DESCRIPTION
This class implements ...
SYNOPSIS
var obj = Lazy(...)
METHODS
each
self.each(block)
Returns the
first
self.first(n)
Returns the
first_by
self.first_by(block)
Returns the
grep
self.grep(block)
Returns the
Aliases: select
iter
self.iter
Returns the
lazy
self.lazy
Returns the
map
self.map(block)
Returns the
Aliases: collect
new
self.new
Returns the
nth
self.nth(n)
Returns the
prod
self.prod(block)
Returns the
Aliases: prod_by
prod_kv
self.prod_kv(block)
Returns the
reduce
self.reduce(operator, result)
Returns the
reduce_by
self.reduce_by(block, result)
Returns the
sum
self.sum(block)
Returns the
Aliases: sum_by
sum_kv
self.sum_kv(block)
Returns the
to_a
self.to_a
Returns the
while
self.while(block)
Returns the