Skip to content

Commit 3a41610

Browse files
committed
wip
1 parent 7be3b19 commit 3a41610

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/unpack.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,3 +1035,9 @@ as parameters, and `*` could make this a lot more convenient. than having to wri
10351035
`unpack` could also be used to unpack a named tuple into a parameter list, which would
10361036
work identically to unpacking a `case class` type except a named tuple would not have
10371037
any default param values.
1038+
1039+
The other way around, `unpack`ing a `case class` into a named tuple type, or a named tuple
1040+
into another named tuple could also be useful.
1041+
1042+
All of these ideas for integrating `unpack`/`*` with tuples and named tuples should be
1043+
investigated, but for now they are beyond the scope of this proposal.

0 commit comments

Comments
 (0)