Skip to content

Commit

Permalink
fix: Name Reader variable correct in promap type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinBurns authored and gcanti committed Jul 22, 2021
1 parent c0944c0 commit 4c65b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reader.ts
Expand Up @@ -150,7 +150,7 @@ export const compose: <A, B>(ab: Reader<A, B>) => <C>(bc: Reader<B, C>) => Reade
* @category Profunctor
* @since 2.0.0
*/
export const promap: <E, A, D, B>(f: (d: D) => E, g: (a: A) => B) => (fbc: Reader<E, A>) => Reader<D, B> = (f, g) => (
export const promap: <E, A, D, B>(f: (d: D) => E, g: (a: A) => B) => (fea: Reader<E, A>) => Reader<D, B> = (f, g) => (
fea
) => (a) => g(fea(f(a)))

Expand Down

0 comments on commit 4c65b44

Please sign in to comment.