Skip to content

AdtDef is an algebraic data type, not abstract data type - #64357

Merged
bors merged 1 commit into
masterfrom
adt-docs-fix
Sep 17, 2019
Merged

AdtDef is an algebraic data type, not abstract data type#64357
bors merged 1 commit into
masterfrom
adt-docs-fix

Conversation

@Centril

Copy link
Copy Markdown
Contributor

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 10, 2019
Comment threadsrc/librustc/ty/mod.rs Outdated
@varkor

Copy link
Copy Markdown
Contributor

I think both "abstract data type" and "algebraic data type" are incorrect. "Abstract" because it's actually concrete and "algebraic" because it includes unions and is also not as general as the usual sense of "algebraic data type". I think @eddyb wasn't happy with the existing name as well; maybe UserDataType is a better choice.

Comment threadsrc/librustc/ty/mod.rs Outdated
@Centril

Copy link
Copy Markdown
ContributorAuthor

@varkor Adjusted to "user-defined..." but also included a note at the bottom re. algebraic data types and how it is slightly wrong.

@varkor

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Sep 16, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 2fd4e58 has been approved by varkor

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 16, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 16, 2019
`AdtDef` is an algebraic data type, not abstract data type
r? @varkor
@CentrilCentril mentioned this pull request Sep 16, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 16, 2019
`AdtDef` is an algebraic data type, not abstract data type
r? @varkor
@CentrilCentril mentioned this pull request Sep 16, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 16, 2019
`AdtDef` is an algebraic data type, not abstract data type
r? @varkor
@CentrilCentril mentioned this pull request Sep 16, 2019
bors added a commit that referenced this pull request Sep 16, 2019
Rollup of 4 pull requests
Successful merges:
- #64357 (`AdtDef` is an algebraic data type, not abstract data type)
- #64485 (update Miri)
- #64509 (Make some adjustments to the documentation for `std::convert::identity`)
- #64518 (Use while let slice_pattern instead of carrying an index around)
Failed merges:
r? @ghost
@bors
bors merged commit 2fd4e58 into masterSep 17, 2019
@Centril
Centril deleted the adt-docs-fix branch September 17, 2019 01:10
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Centril@varkor@bors@eternaleye@rust-highfive