Tobias Brandt

Results 223 comments of Tobias Brandt

Another example is in #716 in what appears to be a graph traversal algorithm. Another example I have seen in my $dayjob is for security classification trees, so you start...

I agree that this is one of the major missing features at the moment. I hit this as soon as I tried to implement the first example from the dbt...

Sorry, I should have been careful in what I was saying and it's really the `tertiary operator ? :` rather than a `tertiary expression` that I am against. ```python >>>...

Interesting. @max-sixty I didn't really get your `if` function before but I think I got it now. I quite like the idea of `?` as an infix indexing operator, like...

The Python example generalises quite nicely to a more general `Pick` function / operator: ```python class Pick: def __init__(self, *args, **kwds): self.choices = {**dict(enumerate(args)), **kwds} def __rxor__(self, choice): return self.choices.get(choice)...

Yeah I agree with you and I'm not really in favour of my pick / index function idea myself as I don't think it's very readable and doesn't naturally map...

I'm not quite following all the points in this discussion but I don't think the following is the case: > If we choose this behavior, == will never emit a...

Thanks for the clarification. I'm not sure about all the implications when you add variables and expression evaluation to the compiler. I would suggest we go with postponing this as...

So carrying on with the previous example ```elm from employees derive [ has_minimum_wage = last_salary == 1160 ] ``` I want this to emit `NULL`s because that tells me that...

This would be very cool indeed! I just want to clarify one point as I think there might be a slight misunderstanding (possibly on my part). This only applies to...