Something else I noticed but didn't think to mention, not only are tuples more terse in Haskell (and I'd say most "modern" languages), but so are arrays:
x = [1, 2, 3]
It's got everything it needs to figure out what the variable type is and to initialize the array. Definitely handy. C/C++ have their own too:
int x[] = {1, 2, 3};
...and I'm sure that the automatic type inference with C++0x will improve that further.
I guess this is on my mind, since I just added the Haskell syntax to Minnow as well, so you can now do something like this as of the latest SVN:
x : var = [1, 2, 3]
Now umpteen-1 more functions/operators to go :)
Recent comments
10 sec ago
2 hours 55 min ago
2 hours 55 min ago
13 hours 9 min ago
14 hours 37 min ago
14 hours 37 min ago
14 hours 37 min ago
21 hours 54 min ago
2 weeks 3 days ago
4 weeks 4 days ago