diff --git a/Modules/Reactives/shared/src/main/scala/reactives/operator/Interface.scala b/Modules/Reactives/shared/src/main/scala/reactives/operator/Interface.scala index 35ab9e1e4..8e935faef 100644 --- a/Modules/Reactives/shared/src/main/scala/reactives/operator/Interface.scala +++ b/Modules/Reactives/shared/src/main/scala/reactives/operator/Interface.scala @@ -29,7 +29,7 @@ import scala.util.DynamicVariable trait Interface { export reactives.operator.{Signal, Event, Var, Evt, Fold, Flatten} - export Fold.{current} + export Fold.current extension [T](e: Event[T]) { inline infix def act[S](f: FoldState[S] ?=> T => S): Fold.Branch[S] = Fold.branch { e.value.fold(current)(f) } @@ -83,4 +83,3 @@ object Interface { type State[V] = default.SchedulerState[V] val default = reactives.generated.Scheduler.selection } -