diff --git a/README.md b/README.md index b3783fc..4b50bf3 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Based on the polynomial functors described in [Niu and Spivak](https://topos.sit --- ### Add the dependencies: - - libraries for Scala 3 (JS, JVM, and Native platforms) + - libraries for Scala 3.4+ (JS, JVM, and Native platforms) - mermaid integration (optional) ```scala @@ -73,7 +73,7 @@ import polynomial.morphism.~> type F[Y] = (Interface[Byte, Char, _] ~> Interface[Byte, Char, _])[Y] val M: Mermaid[F] = summon[Mermaid[F]] -// M: Mermaid[F] = polynomial.mermaid.Mermaid$$anon$3@3e0798d2 +// M: Mermaid[F] = polynomial.mermaid.Mermaid$$anon$3@3b6728e1 println(M.showGraph(graphFmt = Format.Generic)) // ```mermaid diff --git a/build.sbt b/build.sbt index 9c06367..d1dcfd1 100644 --- a/build.sbt +++ b/build.sbt @@ -52,7 +52,7 @@ lazy val docs = project.in(file("docs/gitignored")) .settings( mdocOut := file("."), mdocVariables := Map( - "SCALA" -> crossScalaVersions.value.map(e => e.takeWhile(_ != '.')).mkString(", "), + "SCALA" -> crossScalaVersions.value.map(e => e.reverse.dropWhile(_ != '.').drop(1).reverse + "+").mkString(", "), "VERSION" -> version.value.takeWhile(_ != '+'), ) )