Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions RFCs/FS-1151-spread-operator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# F# RFC FS-1151 - Spread operator

The design suggestion [Spread operator for F#](https://github.com/fsharp/fslang-suggestions/issues/1253) has been marked "approved in principle."

This RFC covers the detailed proposal for this suggestion.

- [x] [Spread operator for F#](https://github.com/fsharp/fslang-suggestions/issues/1253)
- [x] Approved in principle
- [ ] [Implementation](https://github.com/dotnet/fsharp/pull/TODO)
- [x] [Discussion](https://github.com/fsharp/fslang-design/discussions/806)

# Summary

We add support in the following specific contexts for spread expressions of the form `...source`, wherein the symbol `...` prefixed to a `source` expression or type indicates that a set of values or members is to be copied or "spread" from the value or type represented by the source expression into the target context in some way.