-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to Cats. #528
Port to Cats. #528
Conversation
Newts doesn’t support 2.10 and neither Cats nor Newts support Scala Native.
Thank you so much Greg, I will try to review it and check why tests are failing this weekend. |
The test that’s failing here is Also, Travis still seems to be running 2.10 and Scala Native jobs, even though I thought I disabled those in both .travis.yml and build.sbt. |
I added the following unit test: test("each getAll") {
val x = Map(1 -> "abc", 2 -> "cde")
val e = each[Map[Int, String], String]
e.modify(_.reverse)(x) should be (Map(1 -> "cba", 2 -> "edc"))
e.getAll(x) should be (List("abc", "cde"))
e.getAll(e.modify(_.reverse)(x)) should be (List("cba", "edc"))
} and I get:
I suppose it comes from the Map |
I reported the issue in cats: typelevel/cats#1831 |
So, I think the problem is that your test is assuming something that isn't necessarily true. The equivalence relation |
I changed the target branch to cats as I prefer to make the first few releases with cats dependency using a different artifact (e.g. Thank you very much Greg, it is really an amazing work. |
This is done in a style that attempts to minimize the diff from the Scalaz version, for as long as a Scalaz branch is supported.