Created
November 28, 2018 08:41
-
-
Save robhinds/3499ceb4b2ca09d85be360ff85ebd6c6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
implicit def caseClassGenerator[T, L <: HList](implicit generic: Generic.Aux[T, L], lGen: Generator[L]): Generator[T] = | |
new Generator[T] { | |
override def generate = generic.from(lGen.generate) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment