Skip to content

Instantly share code, notes, and snippets.

@infinite-Joy
Created August 22, 2017 15:45
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 infinite-Joy/72fbd25b066baf70ac7f29f3e412b4ec to your computer and use it in GitHub Desktop.
Save infinite-Joy/72fbd25b066baf70ac7f29f3e412b4ec to your computer and use it in GitHub Desktop.
has(jack,apples). % jack has apples.
has(jack,plums). % jack has plums.
has(ann,plums). % ann has plums.
has(dan,money). % dan has money.
fruit(apples). % apple is fruit.
fruit(plums). % plums is fruit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment