fluture-js / Fluture

🦋 Fantasy Land compliant (monadic) alternative to Promises
MIT License
2.48k stars 84 forks source link

fold is bimap #173

Closed puffnfresh closed 7 years ago

puffnfresh commented 7 years ago

I took a look at fold and saw:

fold :: (a -> c) -> (b -> c) -> Future a b -> Future d c

This is not a fold, this is bimap.

Avaq commented 7 years ago

See https://github.com/folktale/data.task/issues/41#issuecomment-339579357 for discussion