-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added alleycats.Pure as it started working
- Loading branch information
1 parent
0c14adb
commit 65f5923
Showing
6 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
modules/catnip/src/main/scala/io/scalaland/catnip/internals/package.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package io.scalaland.catnip | ||
|
||
import cats.derived.MkHash | ||
import cats.Hash | ||
import shapeless.OrElse | ||
|
||
package object internals { | ||
|
||
type PotentiallyDerivedHash[A] = Hash[A] OrElse MkHash[A] | ||
} |
11 changes: 11 additions & 0 deletions
11
modules/catnip/src/main/scala/io/scalaland/catnip/package.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.scalaland | ||
|
||
import cats.derived.MkHash | ||
import cats.Hash | ||
import shapeless.OrElse | ||
|
||
package object catnip { | ||
|
||
// workaround for missing implicits in kittens derivation | ||
type PotentiallyDerivedHash[A]=Hash[A] OrElse MkHash[A] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters