Implements
- Functor<A, any, Reader<A, Config>>
Constructors
constructor
- new ReaderM(value: (a: Config) => A): ReaderM
Properties
Readonly type
type: string = "Reader"
Readonly value
value: (a: Config) => A
Methods
ap
- ap<B>(fa: Reader<(a: A) => B, undefined>): Reader<B, Config>
-
Type parameters
Parameters
-
fa: Reader<(a: A) => B, undefined>
Returns Reader<B, Config>
flatMap
- flatMap<B>(f: (x: A) => Reader<B, Config>): Reader<B, Config>
-
Type parameters
Parameters
-
f: (x: A) => Reader<B, Config>
-
-
Parameters
Returns Reader<B, Config>
Returns Reader<B, Config>
map
- map<B>(f: (x: A) => B): Reader<B, Config>
-
Type parameters
Parameters
Returns Reader<B, Config>
zip
-
Type parameters
Parameters
Returns Reader<B[], Config>