Codebase list ohcount / 78cfc95f-7386-42a8-9c13-3be662a077b3/main test / expected_dir / prolog.pl
78cfc95f-7386-42a8-9c13-3be662a077b3/main

Tree @78cfc95f-7386-42a8-9c13-3be662a077b3/main (Download .tar.gz)

prolog.pl @78cfc95f-7386-42a8-9c13-3be662a077b3/mainraw · history · blame

1
2
3
4
5
6
7
8
9
prolog	comment	/* test file for Prolog parsing */
prolog	blank	
prolog	comment	% this is a Prolog source file
prolog	blank	
prolog	comment	% select(Element, List, Remaining)
prolog	blank	
prolog	code	select(H, [H| T], T).
prolog	code	select(H, [X| R], [X| T]) :-
prolog	code		select(H, R, T).