3 ms·
They don't really. for [0 .. n-1] $ \i -> ... does pretty much the same thing in Haskell as for i in range(0, n): ... does in Python
by tome 3y ago
They don't really.
for [0 .. n-1] $ \i ->
...
does pretty much the same thing in Haskell as
for i in range(0, n):
...
does in Python.