8000 Delegate to upstream `Applicative[Signal]` by armanbilge · Pull Request #229 · armanbilge/calico · GitHub
[go: up one dir, main page]

Skip to content

Delegate to upstream Applicative[Signal] - #229

Merged
armanbilge merged 1 commit into
mainfrom
pr/fix-fs2-3206
May 13, 2023
Merged

armanbilge merged 1 commit into
mainfrom
pr/fix-fs2-3206

Conversation

@armanbilge
Copy link
Copy Markdown
Owner

So we don't have to replicate fixes like typelevel/fs2#3206.

Also instead of ap we override product and map2 instead, since it turns out FlatMap was overriding those with flatMap based implementations. I think they are the most commonly used ones and there is a performance win since flatMap involves tearing down and restarting the inner signal.

@armanbilge
armanbilge marked this pull request as draft April 13, 2023 00:34
@armanbilge
Copy link
Copy Markdown
Owner Author

Actually this should wait for the next FS2 release, otherwise we are introducing bugs ... 😅

@armanbilge
armanbilge marked this pull request as ready for review May 13, 2023 00:39
@armanbilge armanbilge closed this May 13, 2023
@armanbilge armanbilge reopened this May 13, 2023
@armanbilge
armanbilge merged commit 759ec75 into main May 13, 2023
@armanbilge
armanbilge deleted the pr/fix-fs2-3206 branch May 13, 2023 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet
-->

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0