diff options
author | michelou <michelou@epfl.ch> | 2006-06-22 16:19:14 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-06-22 16:19:14 +0000 |
commit | c3426a231bc6f30646e29acc97638435425b62d8 (patch) | |
tree | 299966784fc25ae5d8b35bee1462a18569529661 /docs/examples/parsers2.scala | |
parent | 9d39ff267ef9994bab3fde4a2f25ae5d509d09a4 (diff) | |
download | scala-c3426a231bc6f30646e29acc97638435425b62d8.tar.gz scala-c3426a231bc6f30646e29acc97638435425b62d8.tar.bz2 scala-c3426a231bc6f30646e29acc97638435425b62d8.zip |
removed 'mixin' from files in docs/examples/
Diffstat (limited to 'docs/examples/parsers2.scala')
-rw-r--r-- | docs/examples/parsers2.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/parsers2.scala b/docs/examples/parsers2.scala index f15ca56e0a..8ae5d50ea5 100644 --- a/docs/examples/parsers2.scala +++ b/docs/examples/parsers2.scala @@ -7,11 +7,11 @@ object parsers2 { case class Num(n: int) extends Tree case class Lst(elems: List[Tree]) extends Tree - def isLetter = c: char => Character.isLetter(c) + def isLetter = (c: char) => Character.isLetter(c) def isLetterOrDigit: char => boolean = Character.isLetterOrDigit def isDigit: char => boolean = Character.isDigit - mixin class ListParsers extends CharParsers { + trait ListParsers extends CharParsers { def ident: Parser[Tree] = for ( |