Created
January 3, 2021 08:24
-
-
Save lucapiccinelli/c0e851eed9c73afc4854d94289177a0b 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 contact: Result<ContactInfo> = ::ContactInfo.curry() | |
.on(PersonalName.of("Foo", "Bar", "J.")) | |
.on(Email.Unverified.of("[email protected]")) | |
.result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment