KV
Size: a a a
KV
AA
> [1..10] & taking 5 each %~ (+10)
[11,12,13,14,15,6,7,8,9,10]
ЗП
> [1..10] & taking 5 each %~ (+10)
[11,12,13,14,15,6,7,8,9,10]
ЖК
xs=[0..40]
predicate x = x 'mod' 3 == 0
f = (*1000)
map (\x -> if predicate x then f x else x) [0..40]
MK
ЖК