Created
December 22, 2018 10:20
-
-
Save DonaldKellett/f80a005bae605efdcc781cc1efb14342 to your computer and use it in GitHub Desktop.
Learn Prolog Now! - Chapter 4 - Practical Session - Programming Exercise 3 - Combine two lists III
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
combine3([], [], []). | |
combine3([X | L1], [Y | L2], [j(X, Y) | Result]) :- combine3(L1, L2, Result). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment