safareli / free

Combination of a free applicative functor and free monad
MIT License
57 stars 3 forks source link

is Monkey Patch Function.prototype required? #25

Closed syaiful6 closed 7 years ago

syaiful6 commented 7 years ago

Hi, thanks for this repo @safareli, i am used this repo on my project, and it great so far. To clarify, i am not against the way this library monkey patch the Function prototype, but it just my curiosity, is this required?

safareli commented 7 years ago

In #24 I'm waiting sanctuary-type-classes#2 to be merged and then I would be able to remove that as sanctuary-type-classes will provides Functor interface for Function. Currently it's needed here and 1 to 1 translation from haskel vertion