Swift 3.1 was released with Xcode 8.3 and iOS 10.3. It brings many interesting features. In this article, we will introduce two new functions prefix(while:) and drop(while:) in Sequence.