Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AProc<A, B>

Abstract base class for unit gens in this package. Provides IDeref to obtain the gen's current value and Iterable implementations to use gens as ES6 iterables.

Type parameters

  • A

  • B

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new AProc<A, B>(_val: B): AProc<A, B>

Properties

Protected _val

_val: B

Methods

deref

  • deref(): B

Abstract next

  • next(x: A): B

xform

  • xform(): Transducer<A, B>

Generated using TypeDoc