Created
November 5, 2015 19:30
-
-
Save Mazyod/fc640f2348db3b622097 to your computer and use it in GitHub Desktop.
Nullablility Oriented Programing
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
public protocol StoreEntryNullability {} | |
public struct StoreEntryNullable: StoreEntryNullability {} | |
public struct StoreEntryNonnull: StoreEntryNullability {} | |
public protocol StoreGroup { | |
typealias StorageType | |
typealias StorageNullability: StoreEntryNullability | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment