Questions tagged [implicit]

An implicit in Scala is a function applied or a parameter provided without explicitly appearing in the source code.

implicit
Filter by
Sorted by
Tagged with
1 vote
1 answer
60 views
+100

How to test fastparse parsers in a separate class?

I'm writing a parser, something like, object MyParser: def int[$: P]: P[Int] = digit.rep(1).!.map(s => s.toInt) def digit[$: P]: P[Unit] = CharIn("0-9") Now I'd like to test this in ...
Todd O'Bryan's user avatar
  • 2,186