BS: A functional style sequencer