mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 15:00:13 +01:00
Merge functions.md and lambdas.md design documents (#7425)
Implements suggestion from https://github.com/carbon-language/carbon-lang/pull/7355#discussion_r3416055969 . Assisted-by: Gemini via Antigravity --------- Co-authored-by: Josh L <josh11b@users.noreply.github.com> Co-authored-by: Geoff Romer <gromer@google.com>
This commit is contained in:
co-authored by
Josh L
Geoff Romer
parent
e4b0903d2e
commit
73744544fc
@@ -89,7 +89,7 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
Reference bindings have come up multiple times:
|
||||
|
||||
- as a better alternative to `addr self: Self*`;
|
||||
- for use in [lambda captures](/docs/design/lambdas.md);
|
||||
- for use in [lambda captures](/docs/design/functions.md#captures);
|
||||
- to model different kinds of C++ references for interop and migration;
|
||||
- to support nested bindings within a destructured `var`, see
|
||||
[issue #5250](https://github.com/carbon-language/carbon-lang/issues/5250)
|
||||
|
||||
Reference in New Issue
Block a user