tom_mellior
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
117 ms·
- 1111.▲
- 1112.▲
- 1113.▲
- 1114.▲
- 1115.▲
- 1116.▲
- 1117.▲
- 1118.▲
- 1119.▲
- 1120.▲
- 1121.▲
- 1122.▲
- 1123.▲
- 1124.▲
- 1125.▲
- 1126.▲
- 1127.▲
- 1128.▲
- 1129.▲
- 1130.▲
- 1131.▲
To get multiple variables you "just" have to nest lambdas. In Haskell, for instance: Prelude> concatMap (\x -> concatMap (\y -> [x * y]) [0..x]) [0..5]
[0,0,1,0,2,4,0,3,6,9,0,4,8,12,16,0,5,10,15,20,25]
Prel - 1132.▲
- 1133.▲
- 1134.▲
- 1135.▲
- 1136.▲
- 1137.▲
- 1138.▲
- 1139.▲
- 1140.▲
More ›