Skip to content

Commit

Permalink
Remove cats dependency
Browse files Browse the repository at this point in the history
No longer needed: match types cannot be aliases (e.g., of cats.data.Store)
  • Loading branch information
julianpeeters committed Jan 10, 2024
1 parent ec95273 commit d1c07e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ import polynomial.morphism.~>
type F[Y] = (Store[Boolean, _] ~> Interface[Byte, Char, _])[Y]
val M: Mermaid[F] = summon[Mermaid[F]]
// M: Mermaid[F] = polynomial.mermaid.Mermaid$$anon$1@b268480
// M: Mermaid[F] = polynomial.mermaid.Mermaid$$anon$1@4d261730
println(M.showTitledGraph(titleFmt = Format.Cardinal, graphFmt = Format.Specific))
// ```mermaid
Expand Down
5 changes: 0 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
val CatsV = "2.10.0"
val TypenameV = "0.2.0"
val TypesizeV = "0.1.0"

Expand Down Expand Up @@ -32,9 +31,6 @@ lazy val poly = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.in(file("modules/poly"))
.settings(
name := "polynomial",
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-core" % CatsV
)
)

lazy val mermaid = crossProject(JSPlatform, JVMPlatform, NativePlatform)
Expand All @@ -52,7 +48,6 @@ lazy val docs = project.in(file("docs/gitignored"))
.settings(
mdocOut := file("."),
mdocVariables := Map(
"CATS" -> CatsV.reverse.dropWhile(_ != '.').drop(1).reverse,
"SCALA" -> crossScalaVersions.value.map(e => e.takeWhile(_ != '.')).mkString(", "),
"VERSION" -> version.value.takeWhile(_ != '+'),
)
Expand Down

0 comments on commit d1c07e1

Please sign in to comment.