Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Last active November 14, 2015 21:49
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 seanhandley/f9b0076c1406b17e476f to your computer and use it in GitHub Desktop.
Save seanhandley/f9b0076c1406b17e476f to your computer and use it in GitHub Desktop.
Einstein 5: All the implies
implies?(nationalities, :british, colors, :red)
implies?(nationalities, :swedish, pets, :dogs)
implies?(colors, :green, drinks, :coffee)
implies?(nationalities, :danish, drinks, :tea)
implies?(cigars, :pall_mall, pets, :birds)
implies?(nationalities , :german, cigars, :prince)
implies?(colors, :yellow, cigars, :dunhill)
implies?(cigars, :bluemasters, drinks, :beer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment