change map
This commit is contained in:
parent
ff7da1c590
commit
d343e764cd
1 changed files with 1 additions and 1 deletions
|
@ -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'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue