local
local<
R2,R>(f): <A>(data) =>Reader<R2,A>
Defined in: Core/Reader.ts:155
Adapts a Reader to work with a different (typically wider) environment by transforming the environment before passing it to the Reader. This lets you compose Readers that expect different environments.
Type Parameters
Section titled “Type Parameters”R2
R
Parameters
Section titled “Parameters”(env) => R
Returns
Section titled “Returns”<A>(data) => Reader<R2, A>