Constructing IOType#IO<R, E, A> // R => Runtime, E => Error, A => ValueCopyUsing monet's Either#const func = (input: number) => Either.Right(input + 1); const io = new IO(func);CopyConvert function to Either.Right#const func = (input: number) => input + 1; const io = IO.fromFunction(func);Copy