gcanti / flow-static-land

[DEPRECATED, please check out fp-ts] Implementation of common algebraic types in JavaScript + Flow
MIT License
408 stars 22 forks source link

Use native $Compose #64

Open mgtitimoli opened 6 years ago

mgtitimoli commented 6 years ago

Hi everyone,

I don't know if you all are aware that flow added $Compose as a new utlity type.

I am opening this issue to discuss if it worth to refactor Fun/compose to use this new utility type, or if it would be better to leave it as it is to maintain backwards compatibility.

I would really appreciate to hear your thoughts, thanks!

girvo commented 6 years ago

I'm firmly of the opinion that it's worth refactoring to use the new $Compose type -- but I'm biased, because I'm in love with Flow's amazing utility types ;)