[CRIU] [PATCH 1/2] build/nmk: define map and newline
Cyrill Gorcunov
gorcunov at gmail.com
Fri Feb 19 08:08:15 PST 2016
On Fri, Feb 19, 2016 at 06:31:44PM +0300, Dmitry Safonov wrote:
> >
> >ps: for curious people
> >http://www.lispworks.com/documentation/HyperSpec/Body/f_mapc_.htm
> Hehe, here is it:
>
> # map funciton:
> # $1 - func to call
> # $2 - list over which map the $1 func
> # result is divided with newlines
> map = $(foreach x,$2,$(call $1,$x)$(newline))
:-)
The key moment is the language core, for which "make"
language is really a sucker. Lets leave it plain map.
More information about the CRIU
mailing list