diff options
Diffstat (limited to 'sources/examples/parsers.scala')
-rw-r--r-- | sources/examples/parsers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/examples/parsers.scala b/sources/examples/parsers.scala index 43a386e8db..efe90fc306 100644 --- a/sources/examples/parsers.scala +++ b/sources/examples/parsers.scala @@ -4,7 +4,7 @@ module Parse { type Result = Option[List[Char]]; - trait Parser extends Function1[List[Char],Result] with { + trait Parser with Function1[List[Char],Result] { def &&& (def p: Parser) = new Parser { def apply(in: List[Char]) = Parser.this.apply(in) match { case Some(in1) => p(in1) |