Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Converting Monads to ScalacApplicativeBuilder
implicit def toScalacApplicativeBuilder[M[_], V](value: M[V])(implicit ev: IsHListOfM[M, M[V] :: HNil, V :: HNil], m: Monad[M]): ScalacApplicativeBuilder[M, M[V] :: HNil, V::HNil] =
new ScalacApplicativeBuilder[M, M[V] :: HNil, V :: HNil](value :: HNil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.