pure<B> method

  1. @override
IO<B> pure<B>(
  1. B b
)
override

Return an IO that returns the value b.

Implementation

@override
IO<B> pure<B>(B b) => IO(() => b);