IO<A>.of constructor

IO<A>.of(
  1. A a
)

Build a IO that returns a.

Implementation

factory IO.of(A a) => IO(() => a);