Skip to content
Prev Previous commit
Next Next commit
## to #
  • Loading branch information
thehydroimpulse committed Jul 1, 2014
commit c8c3bd2e96cedba825322062c6d5ea91891c7cd4
2 changes: 1 addition & 1 deletion active/0000-square-brackets.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn parse['a, T: Encodable[Encoder['a], IoError]](value: T) {

This is a very easy change to make.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That’s… not much of a detailed design. How about saying something like “in type parameter lists, replace < with [ and > with ].” and giving examples of T<U, …> and f::<T, …>()?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The


## Downsides
# Downsides

* The syntax is used quite a bit. Automation could potentially do some, if not most of the changes (The tricky part is the ambiguities in the current syntax). However, of the changes we've had in the past, I think this syntax change is a whole lot easier to work with than semantic changes, or more complex syntax changes.

Expand Down