Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpeeters committed Mar 23, 2024
1 parent ac857c4 commit a88c18f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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(_ != '+'),
)
)
Expand Down

0 comments on commit a88c18f

Please sign in to comment.