Function `EXT:MAPCAP`

. The function `EXT:MAPCAP`

is like `MAPCAN`

, except that it
concatenates the resulting lists with `APPEND`

instead of `NCONC`

:

(`EXT:MAPCAP`

`function`

...`x`

_{1}) ≡ (`x`

_{n}`APPLY`

#'`APPEND`

(`MAPCAR`

`function`

...`x`

_{1}))`x`

_{n}

(Actually a bit more efficient that this would have been.)

Function `EXT:MAPLAP`

. The function `EXT:MAPLAP`

is like `MAPCON`

, except that it
concatenates the resulting lists with `APPEND`

instead of `NCONC`

:

(`EXT:MAPLAP`

`function`

...`x`

_{1}) ≡ (`x`

_{n}`APPLY`

#'`APPEND`

(`MAPLIST`

`function`

...`x`

_{1}))`x`

_{n}

(Actually a bit more efficient that this would have been.)

These notes document CLISP version 2.49 | Last modified: 2010-07-07 |