Replies: 4 comments 1 reply
-
|
That is very odd. Stranger still that if you put a |
Beta Was this translation helpful? Give feedback.
-
|
I'm reaching out for some help on discord. It looks like someone else had this question before and there was no resolution 🫤 |
Beta Was this translation helpful? Give feedback.
-
|
I also posted on stack overflow, hopefully someone can help us! |
Beta Was this translation helpful? Give feedback.
-
|
I also cross posted to ramda/ramda |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I was messing around with compose and discovered something interesting. The type definitions for
composeare almost identical topipe(only the function order is reversed), but it doesn't seem to behave the same. Consider these compositions, one withcomposeand one withpipe:pipeis fine with this, andpoo2is correctlystring | number. On the other hand,composeis getting confused and sayspooisunknown. Additionally, there's a big red squiggle underR.nth(1)complaining about theunknown.Given that the type definitions are almost identical, I'm not sure why
composewouldn't work the same aspipe. Any idea what's going on here?Beta Was this translation helpful? Give feedback.
All reactions