- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
          AdtDef is an algebraic data type, not abstract data type
          #64357
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 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  | 
482565f    to
    288c1b2      
    Compare
  
    288c1b2    to
    2fd4e58      
    Compare
  
    | @varkor Adjusted to "user-defined..." but also included a note at the bottom re. algebraic data types and how it is slightly wrong. | 
| @bors r+ rollup | 
| 📌 Commit 2fd4e58 has been approved by  | 
`AdtDef` is an algebraic data type, not abstract data type r? @varkor
`AdtDef` is an algebraic data type, not abstract data type r? @varkor
`AdtDef` is an algebraic data type, not abstract data type r? @varkor
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
r? @varkor