Skip to content

Instantly share code, notes, and snippets.

@Mazyod
Created November 5, 2015 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mazyod/fc640f2348db3b622097 to your computer and use it in GitHub Desktop.
Save Mazyod/fc640f2348db3b622097 to your computer and use it in GitHub Desktop.
Nullablility Oriented Programing
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