Created
October 19, 2015 21:36
-
-
Save tomaszperek/adc5dfbcc41026fe3818 to your computer and use it in GitHub Desktop.
Evidence trait to prove that HList consists of Monads
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
trait IsHListOfM[M[_], In <: HList, Out <: HList] extends ToMonadOps{ | |
def hsequence(l: In): M[Out] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment