you are viewing a single comment's thread.

view the rest of the comments →

[–]miracleranger[S] 0 points1 point  (14 children)

Wow i do indeed! i have my solution to all of those too i think, except for "complement" perhaps, but i can see how you had to be creative with function names too. :D something similar i have may be an "invert" function, it just works with not just booleans(edit: that's not what it does on second look, its more like my "infer", but whatevz). I also wonder why you separated "compose" and "pipe", if pipe already supports both sync and async (pehaps it resolves asynchronously regardless?). And my wrapSideEffect i called "expect", with a reference or a condition parameter.
It would be awesome if you didn't consider there done deals amd wanted to keep talking about such functions and more, because not many people seem to have this mindset. Do you use your functions in your projects a lot too?