constant<F, O> static method

Conveyor<F, O> constant<F, O>(
  1. Monad<F> monad,
  2. O o
)

Implementation

static Conveyor<F, O> constant<F, O>(Monad<F> monad, O o) => pure(monad, o).repeat();