14 lines
		
	
	
		
			299 B
		
	
	
	
		
			Prolog
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			299 B
		
	
	
	
		
			Prolog
		
	
	
	
	
	
%   File   : apply_macros.yap
 | 
						|
%   Author : E. Alphonse from code by Joachim Schimpf
 | 
						|
%   Updated: 15 June 2002
 | 
						|
%   Purpose: Macros to apply a predicate to all elements
 | 
						|
%            of a list or to all sub-terms of a term.
 | 
						|
 | 
						|
:- module(apply_macros, []).
 | 
						|
 | 
						|
:- reexport(maplist).
 | 
						|
 | 
						|
:- reexport(mapargs).
 | 
						|
 | 
						|
 |