itishappy
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
58 ms·
- 1081.▲
- 1082.▲
- 1083.▲
- 1084.▲
- 1085.▲
- 1086.▲
- 1087.▲
- 1088.▲
- 1089.▲
- 1090.▲
- 1091.▲
- 1092.▲
- 1093.▲
- 1094.▲
- 1095.▲
Don't Haskell and Python use the same argument order? filter(lambda x: x<5, map(lambda x: 2*x, [1,2,3,4,5]))
filter (<5) . map (*2) $ [1,2,3,4,5]
(Technically the Python version should be cast to a list to have iden - 1096.▲
- 1097.▲
- 1098.▲
- 1099.▲
- 1100.▲
- 1101.▲
- 1102.▲
- 1103.▲
- 1104.▲
- 1105.▲
- 1106.▲
- 1107.▲
- 1108.▲
- 1109.▲
- 1110.▲
More ›