changeset 598 | e3ad67cd5123 |
parent 594 | d40d7d7b85bc |
child 599 | 33c4b580092b |
--- a/progs/comb1.scala Tue Nov 06 00:48:53 2018 +0000 +++ b/progs/comb1.scala Tue Nov 06 08:18:53 2018 +0000 @@ -142,7 +142,7 @@ lazy val UCount : Parser[String, Int] = ("1" ~ UCount) ==> { case (x, y) => y + 1 } | - "" ==> { (x) => 0 } + "" ==> { x => 0 } UCount.parse("11111") UCount.parse_all("11111")