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.
2015-11-18 15:06:25 +00:00
|
|
|
/**
|
|
|
|
* @file apply.yap
|
|
|
|
* @author VITOR SANTOS COSTA <vsc@VITORs-MBP.lan>
|
|
|
|
* @date Mon Nov 16 23:00:08 2015
|
|
|
|
*
|
|
|
|
* @brief Stub for maplist and friends
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
:- module(apply_stub,[]).
|
|
|
|
|
2018-05-01 23:25:58 +01:00
|
|
|
|
|
|
|
:- reexport(library(maplist),
|
|
|
|
[maplist/2,
|
|
|
|
maplist/3,
|
|
|
|
maplist/4,
|
|
|
|
maplist/5,
|
|
|
|
include/3,
|
|
|
|
exclude/3,
|
|
|
|
partition/4,
|
|
|
|
partition/5
|
|
|
|
]).
|
|
|
|
|
2015-11-18 15:06:25 +00:00
|
|
|
/**
|
2018-05-13 12:59:17 +01:00
|
|
|
|
2018-05-20 00:47:27 +01:00
|
|
|
@defgroup ApplyMaplist Appy Stub for maplist Predicates
|
|
|
|
@ingroup maplist
|
2018-05-13 12:59:17 +01:00
|
|
|
|
|
|
|
@{
|
2014-09-11 20:06:57 +01:00
|
|
|
|
|
|
|
This library provides a SWI-compatible set of utilities for applying a
|
2015-11-18 15:06:25 +00:00
|
|
|
predicate to all elements of a list.
|
2014-09-11 20:06:57 +01:00
|
|
|
|
2015-11-18 15:06:25 +00:00
|
|
|
The apply library is a _stub_, it just forwards definitions to the
|
|
|
|
@ref maplist library. The predicates forwarded are:
|
|
|
|
|
2018-05-20 00:47:27 +01:00
|
|
|
* maplist/2,
|
|
|
|
* maplist/3,
|
|
|
|
* maplist/4,
|
|
|
|
* maplist/5,
|
|
|
|
* include/3,
|
|
|
|
* exclude/3,
|
|
|
|
* partition/4,
|
|
|
|
* partition/5
|
2015-11-18 15:06:25 +00:00
|
|
|
|
|
|
|
*/
|
2009-06-08 20:13:31 +01:00
|
|
|
|
2014-09-11 20:06:57 +01:00
|
|
|
|
2015-12-15 09:28:43 +00:00
|
|
|
%% @}
|
|
|
|
|