Created
December 23, 2018 14:00
-
-
Save DonaldKellett/a166dbf9fa119289ada125c3b05f6792 to your computer and use it in GitHub Desktop.
Learn Prolog Now! - Chapter 6 - Practical Session - Programming Exercise 1 - member/2 using append/3
This file contains hidden or 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
member(X, List) :- append(_, [X | _], List). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment