Why MapIf and BindIf have T as return type? #609
Replies: 1 comment
|
Alright, I can answer this myself. It's due to the fact that the |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Normally, both
BindandMapcan return different type (K) than the input type (T).However, both
BindIfandMapIfrequire both input and output to beT. Why is that? Is it a mistake?All reactions