Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add newtype for Task.Par, using same encoding used in cats-effect #538
This isn't OK, best practice is to define a newtype for that second type parameter.
In my PR on Parallel[IO, ?] I introduced a newtype encoding inspired by alexknvl/newtypes ... we can't depend on that particular project, because (for Cats) it doesn't support Scala 2.10, plus I'm wary introducing dependencies. But we can use the same trick.
To coordinate with PR #536 that's doing the same for