YAP 7.1.0
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
apply_macros.yap
Go to the documentation of this file.
1%% @file apply_macros.yap
2%% @author E. Alphonse from code by Joachim Schimpf
3%% @date 15 June 2002
4%% @brief Purpose: Macros to apply a predicate to all elements
5%% of a list or to all sub-terms of a term.
6
7:- module(apply_macros, []).
8%% @namespace maplist
9
10/**
11
12@defgroup apply_macros Apply Interface to maplist
13@ingroup maplist
14@{
15
16This library provides a SWI-compatible set of utilities for applying a
17predicate to all elements of a list.
18
19The apply library just forwards
20definitions to the @ref maplist library, these include:
21
22
23+ maplist/2,
24+ maplist/3,
25+ maplist/4,
26+ maplist/5,
27+ include/3,
28+ exclude/3,
29+ partition/4,
30+ partition/5.
31
32
33*/
34
35:- reexport(maplist).
36
37:- reexport(mapargs).
38
39%% @}
40
reexport(+F)