Skip to content

Instantly share code, notes, and snippets.

@jackfirth
Created November 2, 2015 01:21
Show Gist options
  • Save jackfirth/dc5389a67d970945d75e to your computer and use it in GitHub Desktop.
Save jackfirth/dc5389a67d970945d75e to your computer and use it in GitHub Desktop.

What is the type of a value that promises the following:

  1. It is a struct instance
  2. It has a certain struct property
  3. That struct property has certain restrictions on its value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment