Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed May 4, 2020
1 parent 61909c6 commit b4f5e3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ object hlist {
final case class HCons[+H, +Tail <: HList](head: H, tail: Tail) extends HList
case object HNil extends HList

object ~: {
def unapply[H, T <: HList](l: H :: T): Some[(H, T)] = Some((l.head, l.tail))
}

/**
* It witnesses a relationship between two HLists.
*
Expand Down Expand Up @@ -63,8 +67,4 @@ object hlist {
new Witness[HCons[F[A], T]] { type R = HCons[A, w.R] }
}

object ~: {
def unapply[H, T <: HList](l: H :: T): Some[(H, T)] = Some((l.head, l.tail))
}

}
1 change: 1 addition & 0 deletions site/docs/transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import cats.implicits._
import dev.profunktor.redis4cats._
import dev.profunktor.redis4cats.hlist._
import dev.profunktor.redis4cats.transactions._
import java.util.concurrent.TimeoutException

def putStrLn(str: String): IO[Unit] = IO(println(str))

Expand Down

0 comments on commit b4f5e3c

Please sign in to comment.