BiFunction<STATE, Object, Update<STATE>> updater,
Function<STATE, VNode> view,
Stage primaryStage)
{
final Function<STATE, VNode> stageView = STATE -> Stage().scene(Scene().root(view.apply(STATE)));
<BUG>setup(initialState, updater, stageView, primaryStage);
</BUG>
}
<BUG>public <STATE> MainLoop(
</BUG>
STATE initialState,

BiFunction<STATE, Object, Update<STATE>> updater,
Function<STATE, VNode> view,
Stage primaryStage)
{
final Stages stages = new Stages(primaryStage);
final Option<VNode> initialVNode = Option.of(Stages().children(Stage()));
return new MainLoop(initialState, initialVNode, updater, view, stages);
}
public static <STATE> MainLoop createStage(
