Created
January 24, 2011 16:45
-
-
Save locks/793500 to your computer and use it in GitHub Desktop.
This file contains 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
elimina1(N,[H|T],T) :- N == H . | |
elimina1(N,[H|T],[H|LB]) :- elimina1(N,T,LB) . |
This file contains 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
elimina_todos(_,[],[]). | |
elimina_todos(N,[H|T],R) :- N == H , elimina_todos(N,T,R) . | |
elimina_todos(N,[H|T],[H|LA]) :- elimina_todos(N,T,LA) . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment