Created
June 16, 2017 12:23
-
-
Save robhinds/0922780f5647f361d97ab663b18960a3 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
val pCaseClass = Person("Jon", 17, true) | |
val pHlist = genericPerson.to(pCaseClass) | |
assert pCaseClass == genericPerson.from(pHlist) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment