This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
2002-06-18 05:08:01 +01:00
|
|
|
% 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.
|
|
|
|
|
2009-06-10 17:36:28 +01:00
|
|
|
:- module(apply_macros, []).
|
|
|
|
|
2009-04-25 03:41:26 +01:00
|
|
|
:- reexport(maplist, [selectlist/3,
|
2008-05-15 14:41:48 +01:00
|
|
|
checklist/2,
|
2008-07-16 11:45:47 +01:00
|
|
|
maplist/2,
|
2008-05-15 14:41:48 +01:00
|
|
|
maplist/3,
|
2008-07-16 11:45:47 +01:00
|
|
|
maplist/4,
|
|
|
|
maplist/5,
|
2008-05-15 14:41:48 +01:00
|
|
|
convlist/3,
|
|
|
|
mapargs/3,
|
|
|
|
sumargs/4,
|
|
|
|
mapnodes/3,
|
|
|
|
checknodes/2,
|
|
|
|
sumlist/4,
|
|
|
|
sumnodes/4,
|
|
|
|
include/3,
|
|
|
|
exclude/3,
|
|
|
|
partition/4,
|
|
|
|
partition/5
|
|
|
|
]).
|
|
|
|
|
2009-04-24 21:45:41 +01:00
|
|
|
|