From d1c07e1c2ce13224c53e06644459097efab06e7b Mon Sep 17 00:00:00 2001 From: Julian Peeters Date: Wed, 10 Jan 2024 14:24:42 -0800 Subject: [PATCH] Remove cats dependency No longer needed: match types cannot be aliases (e.g., of cats.data.Store) --- README.md | 2 +- build.sbt | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 61210ac..829652a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.sbt b/build.sbt index 5d14157..eb28385 100644 --- a/build.sbt +++ b/build.sbt @@ -1,4 +1,3 @@ -val CatsV = "2.10.0" val TypenameV = "0.2.0" val TypesizeV = "0.1.0" @@ -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) @@ -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(_ != '+'), )