Created
April 3, 2020 18:00
-
-
Save davidelettieri/744df9e717240608ee3672e5df799544 to your computer and use it in GitHub Desktop.
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
Union<Success,Failure> ValidateEmail(Customer c) { ... } | |
public class Success {} | |
public class Failure { | |
public string Message {get;} | |
public Failure(string message) { | |
Message = message; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment