RosettaCodeData/Task/Higher-order-functions/F-Sharp/higher-order-functions-2.fs

3 lines
64 B
Forth
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
> List.map2 (+) [1;2;3] [3;2;1];;
val it : int list = [4; 4; 4]