-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
breakingThis change will break codeThis change will break codespeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
Milestone
Description
Much gnashing of teeth derives from the overlap between syntax for array literal construction and array concatenation in Julia – largely inherited from Matlab. Perhaps we should just use a different syntax for block matrix construction entirely. One thought would be this:
| a b
c d |
This has the advantage of being pretty terse and lightweight. For example, the current idiom of expanding a range into an array is [1:10]
which would become |1:10|
while [1:10]
would construct a one-element array of type UnitRange{Int}
.
wnoise
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codespeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative