class MapSequence
class MapSequence
lib/map_sequence.tya:2
MapSequence provides the map_sequence standard library API.
Source
# MapSequence provides the map_sequence standard library API.
class MapSequence implements Sequence
# MapSequence.fn stores instance state.
# @type Nil
fn: nil
# MapSequence.source stores instance state.
# @type Nil
source: nil
# MapSequence.initialize provides the map_sequence standard library operation.
# @param source String source value.
# @param fn Function fn value.
# @return Self the initialized object.
initialize: source, fn ->
self.source = source
self.fn = fn
Instance Variables
fn
MapSequence.fn
lib/map_sequence.tya:5
MapSequence.fn stores instance state.
Source
# MapSequence.fn stores instance state.
# @type Nil
fn: nil
source
MapSequence.source
lib/map_sequence.tya:9
MapSequence.source stores instance state.
Source
# MapSequence.source stores instance state.
# @type Nil
source: nil
Methods
initialize
MapSequence.initialize(source, fn)
lib/map_sequence.tya:15
MapSequence.initialize provides the map_sequence standard library operation.
Source
# MapSequence.initialize provides the map_sequence standard library operation.
# @param source String source value.
# @param fn Function fn value.
# @return Self the initialized object.
initialize: source, fn ->
self.source = source
self.fn = fn