# Mixed tuple destructuring

**URL:** <https://forums.swift.org/t/mixed-tuple-destructuring/47231>\
**Category:** Discussion\
**Created:** [April 7, 2021, 9:50pm UTC](https://forums.swift.org/t/mixed-tuple-destructuring/47231 "2021-04-07T21:50:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![taylorswift](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/taylorswift/32/43413_2.png) [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Post date:** [April 8, 2021, 2:10am UTC](https://forums.swift.org/t/mixed-tuple-destructuring/47231/4 "2021-04-08T02:10:49Z")

</div>

since you already defined a general syntax-level transformation for this, i doubt there is a fundamental reason why this can’t be done. i’ve been implementing a lot of language extensions recently using the new [package plugins feature](https://forums.swift.org/t/returned-for-revision-se-0303-package-manager-extensible-build-tools/46640/7), so i’m pretty confident someone could create a syntax-level language extension to do just that, where the tool in question would “compile” this down to standard swift.

i just think that 9 times out of 10, this kind of problem is better solved with an appropriate in-place mutating method.

---

_[View the full topic](https://forums.swift.org/t/mixed-tuple-destructuring/47231)._
