alantech / alan

Autoscalable Programming Language
https://alan-lang.org
MIT License
305 stars 10 forks source link

Buffer type syntax improvements #777

Closed dfellis closed 2 months ago

dfellis commented 2 months ago

A minor change adjusting the precedence of the buffer and group operators, as well as adding some logic to handle groups a bit better within the buffer type (though on this, I am thinking of having a "strip groups" helper method that I use everywhere rather than dealing with them piecemeal like this).

While the Generic Type Function syntax is what everything is going to be internally, I want to push the Typescript-style type syntax as the standard way to write these things because I think it's more directly legible with the symbols interspersed with type names.