Last active
June 20, 2017 08:07
-
-
Save robhinds/2faabda3b9adccde9943a6a2af645768 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 cnilGenerator: Generator[CNil] = | |
new Generator[CNil] { | |
override def generate: CNil = throw new RuntimeException("Invalid candidate configuration") | |
} | |
implicit def cconsGenerator[H, T <: Coproduct] = | |
new Generator[H :+: T] { | |
override def generate = throw new RuntimeException("Invalid candidate configuration") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment