switch package:dunai

Run first MSF until the second value in the output tuple is Just c (for some c), then start the second MSF. Analog to Yampa's switch, with Maybe instead of Event.
Run first MSF until the second value in the output tuple is Just c (for some c), then start the second MSF. Analog to Yampa's dswitch, with Maybe instead of Event.