Skip to content

Commit

Permalink
Syntax for multidimensional arrays (#33697)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Bauman <[email protected]>
Co-authored-by: Jeff Bezanson <[email protected]>
Co-authored-by: Simeon Schaub <[email protected]>
  • Loading branch information
4 people authored May 20, 2021
1 parent 27066a7 commit 9117b4d
Show file tree
Hide file tree
Showing 15 changed files with 894 additions and 109 deletions.
7 changes: 6 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ New language features
as `.&&` and `.||`. ([#39594])
* `` (U+2AEA, `\Top`, `\downvDash`) and `` (U+2AEB, `\Bot`, `\upvDash`, `\indep`)
may now be used as binary operators with comparison precedence. ([#39403])
* Repeated semicolons may now be used inside array literals to separate dimensions of an array,
with the number of semicolons specifying the particular dimension. Just as the single semicolon
in `[A; B]` has always described concatenating along the first dimension (vertically), now two
semicolons `[A;; B]` do so in the second dimension (horizontally), three semicolons `;;;` in the
third, and so on. ([#33697])

Language changes
----------------
Expand Down Expand Up @@ -148,7 +153,7 @@ Standard library changes

Deprecated or removed
---------------------
- Multiple successive semicolons in an array expresion were previously ignored (e.g. `[1 ;; 2] == [1 ; 2]`). Multiple semicolons are being reserved for future syntax and may have different behavior in a future release.
- Multiple successive semicolons in an array expresion were previously ignored (e.g., `[1 ;; 2] == [1 ; 2]`). This is now being used to separate dimensions for array literals. (see **New language features**)


External dependencies
Expand Down
Loading

2 comments on commit 9117b4d

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

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

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

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

Your package evaluation job has completed - possible new issues were detected. A full report can be found here. cc @maleadt

Please sign in to comment.