change map

This commit is contained in:
Rowan 2025-04-17 18:41:04 -05:00
parent ff7da1c590
commit d343e764cd

View file

@ -135,7 +135,7 @@ export const chain = curry(dispatch(['fantasy-land/chain', 'chain'],
)) ))
export const map = curry(dispatch(['fantasy-land/map', 'map'], 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'], export const reduce = curry(dispatch(['fantasy-land/reduce', 'reduce'],