1 min readMay 21, 2019
Thank you for your comment.
I understand what you are saying. Yes the promise as it, is is not a Functor.
But with this implementation of map I think it does not violate the Functor laws can you give a look at this fiddle and tell me your opinion. https://jsfiddle.net/dimitrs_papadimitriou/dn6952j7/
a mathematician opinion is always welcome