Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Monocle support to transformers #3

Open
japgolly opened this issue Jun 23, 2016 · 0 comments
Open

Add Monocle support to transformers #3

japgolly opened this issue Jun 23, 2016 · 0 comments

Comments

@japgolly
Copy link
Owner

Snippet:

  implicit val transformRT =
    RT.*.transformer
      .mapR[Ref](r => RT.Ref(r.tester.component zoomL State.rt, r.svr))
      .pmapO[Obs](_.rt)
      .mapS(TestState.project.get)((a, b) => TestState.project.set(b)(a))
      // ↑ TODO Add Monocle support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant