Logo

Programming-Idioms

History of Idiom 189 > diff from v4 to v5

Edit summary for version 5 by tkoenig:
New Fortran implementation by user [tkoenig]

Version 4

2019-09-27, 13:26:07

Version 5

2019-09-27, 13:26:20

Idiom #189 Filter and transform list

Produce a new list y containing the result of function T applied to all elements of list x that match the predicate P.

Idiom #189 Filter and transform list

Produce a new list y containing the result of function T applied to all elements of list x that match the predicate P.

Extra Keywords
map apply
Extra Keywords
map apply
Code
y = pack (t(x), mask=p(x))