stream_ref: Get a single element of a stream

Description Usage Arguments

Description

Get a single element of a stream

Usage

1
2
3
4
stream_ref(stream, n)

## S3 method for class 'lazylist'
stream[n]

Arguments

stream

A stream

n

An integer


tarakc02/lazylist documentation built on May 31, 2019, 3:51 a.m.