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,[]).
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file apply.yap
|
|
|
|
* @defgroup apply_stub Apply Predicates
|
2015-12-15 09:28:43 +00:00
|
|
|
*
|
2015-11-18 15:06:25 +00:00
|
|
|
* @ingroup library
|
2015-12-15 09:28:43 +00: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:
|
|
|
|
|
|
|
|
- maplist/2,
|
|
|
|
- maplist/3,
|
|
|
|
- maplist/4,
|
|
|
|
- maplist/5,
|
|
|
|
- include/3,
|
|
|
|
- exclude/3,
|
|
|
|
- partition/4,
|
|
|
|
- partition/5
|
|
|
|
|
|
|
|
*/
|
2009-06-08 20:13:31 +01:00
|
|
|
|
2010-04-20 23:11:13 +01:00
|
|
|
:- reexport(library(maplist),
|
2009-12-03 16:31:23 +00:00
|
|
|
[maplist/2,
|
|
|
|
maplist/3,
|
|
|
|
maplist/4,
|
|
|
|
maplist/5,
|
2008-05-15 14:41:48 +01:00
|
|
|
include/3,
|
|
|
|
exclude/3,
|
|
|
|
partition/4,
|
|
|
|
partition/5
|
|
|
|
]).
|
|
|
|
|
2014-09-11 20:06:57 +01:00
|
|
|
|
2015-12-15 09:28:43 +00:00
|
|
|
%% @}
|
|
|
|
|