Am I wrong for wishing that rust had chosen a type syntax more like Haskell and less like C++? I know C++ programmers were a more important target demo than Haskell programmers, but all the stabby brackets make me a little sad. They're so pointy.
Conversation
Replying to
Been using Rust since late 2012, and yes, I'm with you on this. Sadly they used to be square brackets (before my time), and were changed to pointy brackets somewhere along the line.
Some wish that Rust used Haskell's argument syntax (in types and expressions) but I kind of disagree. Type and expression parameters aren't curried, so it makes sense to use parameter lists for these.
1
4
Yeah, certainly a -> b -> c = a -> (b -> c) doesn't make sense for a language without ubiquitous currying, that's a good point.
1
Show replies

