Commit 52b7d4cb authored by Gautham Velchuru's avatar Gautham Velchuru
Browse files

add remove_dupl

parent e741674e
remove_dupl([],[]).
remove_dupl([X|Xs],[X|Ys]) :- \+ member(X,Xs), remove_dupl(Xs,Ys).
remove_dupl([X|Xs],Ys) :- member(X,Xs), remove_dupl(Xs,Ys).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment