apFirst<ENV, B> function
Implementation
ReaderIO<ENV, A> Function<A>(ReaderIO<ENV, A>) apFirst<ENV, B>(
ReaderIO<ENV, B> rio1,
) =>
<A>(rio2) => pipe2(
rio2,
flatMap<ENV, A, A>(
(a) => pipe2(
rio1,
map<B, A>((_) => a),
),
),
);