I am working through the tutorial/explanation of fastparse and am getting the error message
error: No implicit view available from fastparse.P[Any] => fastparse.P[Unit]
for the sequence example.
I am using sbt 1.3.8 and scala 2.13.1. The defined version for fastparse is 2.2.2.
scala> import fastparse._
import fastparse._
scala> def ab[_:P] = P("a" ~ "b")
^
error: No implicit view available from fastparse.P[Any] => fastparse.P[Unit].
scala> def a[_:P] = P("a")
a: [_](implicit evidence$1: fastparse.P[Any])fastparse.package.P[Unit]
scala> def b[_:P] = P("b")
b: [_](implicit evidence$1: fastparse.P[Any])fastparse.package.P[Unit]
scala> def ab[_:P] = P(a ~ b)
^
error: No implicit view available from fastparse.package.P[Any] => fastparse.package.P[Unit].
scala> def ab[_:P] = P("a" | "b")
ab: [_](implicit evidence$1: fastparse.P[Any])fastparse.package.P[Unit]
scala> fastparse.parse("a", ab(_))
res2: fastparse.Parsed[Unit] = Parsed.Success((), 1)
What does this error mean and what did I do wrong/how can I conclude this tutorial step without error?