nafg/reactive — Issue #39: flatMap should pick up Signal subclasses
Author: nafg
Created: 2011-10-11 07:43:15+00:00
State: open

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.