3 ms·
You don't need the $ anymore with `BlockArguments`. But overall, Haskell isn't really any worse here than Rust's for-each; or even C's weird for-loop (where yo
by eru 3y ago
You don't need the $ anymore with `BlockArguments`.
But overall, Haskell isn't really any worse here than Rust's for-each; or even C's weird for-loop (where you just have to rote learn what the three parts in the header of the loop do). I agree it's worse than Python's or Rust's vanilla for-loop.
I mostly like Python's syntax, I just wish they would make their would declare their indentation syntax to be sugar for a curly brace syntax (like Haskell does), and their would make their statements and blocks give values, like Haskell and Rust do.
(Of course, I have some other things I don't like in Python. But her syntax is by-and-large fine.)