From dacfa6d54f99d163aa7e041a86f4a1b29829a78a Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Tue, 7 May 2019 22:05:12 +0800 Subject: [PATCH] =?UTF-8?q?Update=20Scala=E5=88=97=E8=A1=A8=E5=92=8C?= =?UTF-8?q?=E9=9B=86.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/Scala列表和集.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Scala列表和集.md b/notes/Scala列表和集.md index cbb6cfe..705c1af 100644 --- a/notes/Scala列表和集.md +++ b/notes/Scala列表和集.md @@ -312,7 +312,7 @@ scala> List(1, 2, 3, -4, 5) takeWhile (_ > 0) res23: List[Int] = List(1, 2, 3) ``` -dropWhile遍历元素,直到遇到第一个不符合条件的值则结束遍历,返回未遍历到的值。 +dropWhile遍历元素,直到遇到第一个不符合条件的值则结束遍历,返回所有未遍历到的值。 ```scala // 第一个值就不满足条件,所以返回列表中所有的值