Codebase list ohcount / c941801a-846c-49c1-93c4-07f1094d7537/main test / detect_files / foo_prolog1.pl
c941801a-846c-49c1-93c4-07f1094d7537/main

Tree @c941801a-846c-49c1-93c4-07f1094d7537/main (Download .tar.gz)

foo_prolog1.pl @c941801a-846c-49c1-93c4-07f1094d7537/mainraw · history · blame

1
2
3
4
5
% select(Element, List, Remaining)

select(H, [H| T], T).
select(H, [X| R], [X| T]) :-
	select(H, R, T).