This PR fixes a problem for IntelliJ users; there are no functionality changes.
For some reason I haven't been able to solve, the IDE sees usages of .toBinaryF and .hashF as errors; this is because for some reason it doesn't see MonadThrow. (In the kryo module it doesn't see identity either.) However, if we use both MonadThrow and ApplicativeThrow then they're seen. Alternatively, importing _root_.cats._ fixes the problem so that I didn't have to change the code.
sbt has no problem with them but there's something about these modules that IntelliJ can't solve which causes problems during development. If anyone knows how to adjust IntelliJ w/o these changes I'd be happy to withdraw this PR.
This PR fixes a problem for IntelliJ users; there are no functionality changes.
For some reason I haven't been able to solve, the IDE sees usages of
.toBinaryF
and.hashF
as errors; this is because for some reason it doesn't seeMonadThrow
. (In the kryo module it doesn't seeidentity
either.) However, if we use bothMonadThrow
andApplicativeThrow
then they're seen. Alternatively, importing_root_.cats._
fixes the problem so that I didn't have to change the code.sbt
has no problem with them but there's something about these modules that IntelliJ can't solve which causes problems during development. If anyone knows how to adjust IntelliJ w/o these changes I'd be happy to withdraw this PR.