Skip to content

Conversation

@oliver-batchelor
Copy link
Collaborator

I had this kicking around, so I figured I might as well add a couple of tests and submit it for completeness. It seems useful for writing containers. One very simple thing it enables is a safe mapIncremental which is monadic, but avoids the sample which would otherwise be required.

Add mapIncremental (Monadic, not unsafe)

Add some basic tests for mapIncremental
@hSloan hSloan added the opinionated Requires judgement from senior developer or developer community label Jan 23, 2019
@lpsmith
Copy link
Contributor

lpsmith commented Dec 20, 2019

The breakage here is because this adds a new method to the Reflex class. It also includes a default method for the implementation, but it does specify additional constraints, and I'm not sure without further study what might not be covered by this default method; however the breakage might be very minimal.

It also uncomments and fixes the type of another default method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change enhancement opinionated Requires judgement from senior developer or developer community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants