Talin

Results 296 comments of Talin

I would argue in favor of the additional indentation (i.e. having case clauses be indented rather than at the same level as match), for two reasons: 1) Having a statement...

I am fairly skeptical that the 'half-indent' strategy for minimizing indentation levels would be widely adopted, for several reasons: * It would difficult for editors that auto-indent to make an...

I have a slight preference for ?x over x?. The latter, to me, means 'optional'. $x also works for me, or any other single character that is traditionally interpreted as...

It seems that we have gotten to a bunch of workable solutions and are debating aesthetics at this point - which is more unpalatable and less Pythonic, a prefix character...

Question: is `Point(x, .x)` valid? I suspect not, because of order-of-evaluation issues - `x` has not yet been assigned at the moment where `.x` is being evaluated.

A related question: Is the following illegal? ``` match someValue: as [x] if x < 0: print(x) as _ if x >= 0: print(x) ``` The second match arm refers...

As discussed in our conversation there are a couple of different approaches but none of them are completely satisfactory. **Idea 1: Buffered Iterators** The first idea is what I would...

Also, we want to be careful about terminology here: the problem is not unpacking raw iterables, but raw iterators. It might be a design choice to support the former but...

What happens if the [a, b] case has a guard condition that fails? Are a and b still modified? Personally I don't think you should allow existing in-scope variables to...

Can we mark this issue as accepted? Sorry if I'm playing project manager here (not my usual role, I assure you :))