Skip to content

Instantly share code, notes, and snippets.

@emad-elsaid
Created June 15, 2010 12:15
Show Gist options
  • Save emad-elsaid/439035 to your computer and use it in GitHub Desktop.
Save emad-elsaid/439035 to your computer and use it in GitHub Desktop.
merge( [],X,X).
merge( [H|T],X,[H|T2] ):-
merge( T, X, T2 ).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment