mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 11:02:39 +00:00
This proposal goes into the details of the core of the generics feature, to achieve the goals from #24 , and provides an outline covering future work. It has been summarized in these presentations: - [basic usage](https://docs.google.com/presentation/d/1OZiMTVW2Ommop5WTs9RyEwnGxy9yzaAPF7Cj5KUfDsY/edit?resourcekey=0-Nya0Soz3ZNs3hJan8VIrTA#slide=id.p) - [details: interfaces](https://docs.google.com/presentation/d/1FSlqtE5hXZIwOO52UrAK9DINBLDWtgu24dugHfomUMg/edit#slide=id.p) - [details: facet types](https://docs.google.com/presentation/d/17KG0TeJ4OChMRdLJPS8TE_K6SoL4lFy1FUGr2CDzX-A/edit?resourcekey=0-kLnZqd5NrbGSwmbunTyB-A#slide=id.p) - [details: type-types](https://docs.google.com/presentation/d/1Hn3VDlVjwhjx3SKM2KXKE7lW208nXff30x3-uIO4_Fo/edit#slide=id.p) - [details: extending/refining interfaces](https://docs.google.com/presentation/d/1K0cCHeb9JTJY9QCGEVO9CcJNHYlaXkoPESv4J9tl5LU/edit#slide=id.p) Co-authored-by: Richard Smith <richard@metafoo.co.uk>
2.8 KiB
2.8 KiB
Proposals
This directory contains accepted proposals for the carbon-lang repository. For information about declined/deferred proposals, please view the proposal's original pull request.
For accepted proposals, where #### is the corresponding proposal's pull
request:
p####.mdwill contain the main proposal text.p####may be present as an optional subdirectory for related files (for example, images).
Proposal list
- 0024 - Generics goals
- 0029 - Linear, rebase, and pull-request GitHub workflow
- 0042 - Create code review guidelines
- 0044 - Proposal tracking
- 0051 - Goals
- 0063 - Criteria for Carbon to go public
- 0074 - Change comment/decision timelines in proposal process
- 0083 - In-progress design overview
- 0107 - Code and name organization
- 0113 - Add a C++ style guide
- 0120 - Add idiomatic code performance and developer-facing docs to goals
- 0142 - Unicode source files
- 0143 - Numeric literals
- 0149 - Change documentation style guide
- 0157 - Design direction for sum types
- 0162 - Basic Syntax
- 0175 - C++ interoperability goals
- 0179 - Create a toolchain team.
- 0196 - Language-level safety strategy
- 0198 - Comments
- 0199 - String literals
- 0253 - 2021 Roadmap
- 0257 - Initialization of memory and variables
- 0285 - if/else
- 0301 - Principle: Errors are values
- 0339 -
varstatement - 0340 - while loops
- 0353 -
forloops - 0415 - Syntax:
return - 0426 - Governance & evolution revamp
- 0438 - Functions
- 0444 - GitHub Discussions
- 0447 - Generics terminology
- 0524 - Generics overview
- 0538 -
returnwith no argument - 0540 - Remove
Void - 0553 - Generics details part 1
- 0555 - Operator precedence
- 0561 - Basic classes: use cases, struct literals, struct types, and future work
- 0601 - Operator tokens
- 0618 - var ordering
- 0623 - Require braces
- 0646 - Low context-sensitivity principle
- 0676 -
:!generic syntax - 0680 - And, or, not