• Maps the record of environment by mapper. Note that the mapping is a contravariant.

    Type Parameters

    • R1

    • R2

    Parameters

    • mapper: ((record) => R2)

      The transformer from new record to old record.

        • (record): R2
        • Parameters

          • record: R1

          Returns R2

    Returns (<M, A>(r) => ReaderT<R1, M, A>)

    The mapped environment.

Generated using TypeDoc