🔨
Building
Pinned Loading
-
hyperledger/identus-cloud-agent
hyperledger/identus-cloud-agent PublicIdentus Cloud Agent
-
-
-
tree.scala
tree.scala 1sealed trait Tree[+A]
2object Tree {
3def size[A](tree: Tree[A]): Int = tree match {
4case Branch(left, right) => size(left) + size(right) + 1
5case Leaf(_) => 1
-
typeclassInferance.scala
typeclassInferance.scala 1trait Equality[T] {
2def equals(a: T, b: T): Boolean
3}
4object Equality {
5implicit val IntEquality: Equality[Int] = new Equality[Int] {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.