Created
July 9, 2017 17:24
-
-
Save nomisRev/3c195e734324d530a716dcb824c7d959 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
sealed class Result | |
data class Success(val value: Int): Result() | |
data class Failure(val message: String): Result() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment