Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

flatMap should pick up Signal subclasses #39

Closed
nafg opened this issue Oct 11, 2011 · 0 comments
Closed

flatMap should pick up Signal subclasses #39

nafg opened this issue Oct 11, 2011 · 0 comments

Comments

@nafg
Copy link
Owner

nafg commented Oct 11, 2011

val v = Var(10)
val flatMapped = v.flatMap(x => Var(x + 10)): Signal[Int])

Note how the type ascription is needed. Make the CanFlatMapSignal implicits smarter.

@nafg nafg closed this as completed Feb 6, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant