-2

I have in my sbt:

"org.typelevel" %% "cats-core" % "2.0.0-M1",
"org.typelevel" %% "cats-effect" % "1.3.1",
"org.typelevel" %% "cats-free" % "2.0.0-M3"

But can't import StateT in code.

In what module is it?

It's referred to here http://eed3si9n.com/herding-cats/State.html

jakstack
  • 2,143
  • 3
  • 20
  • 37

1 Answers1

2

StateT is in cats-core

import cats.data.StateT

where

libraryDependencies += "org.typelevel" %% "cats-core" % catsVersion
Mario Galic
  • 47,285
  • 6
  • 56
  • 98