Codebase list ohcount / multiarch-fixes/main test / src_dir / prolog.pl
multiarch-fixes/main

Tree @multiarch-fixes/main (Download .tar.gz)

prolog.pl @multiarch-fixes/main

8e3aae6
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
/* test file for Prolog parsing */

% this is a Prolog source file

% select(Element, List, Remaining)

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