diff --git a/src/function.js b/src/function.js index c00f94f..dce85c7 100644 --- a/src/function.js +++ b/src/function.js @@ -135,7 +135,7 @@ export const chain = curry(dispatch(['fantasy-land/chain', 'chain'], )) export const map = curry(dispatch(['fantasy-land/map', 'map'], - (f, a) => a.map(f) + (f, a) => chain(f, a) )) export const reduce = curry(dispatch(['fantasy-land/reduce', 'reduce'],