-
Notifications
You must be signed in to change notification settings - Fork 2
RFC: Tuples #9
Comments
@PolyGN thoughts on Tuples? I feel like Tuple support without full-on pattern matching throughout the system is useless. I like the idea of pattern matching though I feel like languages that use it right now cause the syntax/semantics to look super messy (Rust is a great example of a good idea gone terribly ugly insofar as pattern matching, in my opinion). |
@Qix- Yes, tuples without full pattern matching would indeed be useless. And as far the syntax for the possible pattern matching? ... Could be something like this [not going to do anything like Rust, cause it is, as you said, "terribly ugly"]
I don't know, I'm trying to think as concise and simple as I can. If you have some thoughts on this, definitely throw some critique on this! |
What does that example intend to do? |
Another idea:
Which is similar to Pythons: [x.do_something() for x in (foo1, foo2)] and functionally equivalent to
|
TODOThe text was updated successfully, but these errors were encountered: