# \[Proposal\] Move public AutoreleasingUnsafeMutablePointer API from StdlibCore -\> Objective C Overlay

**URL:** <https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490>\
**Category:** Discussion\
**Created:** [July 21, 2016, 5:02pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490 "2016-07-21T17:02:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Gottesman](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/michael_gottesman/32/280_2.png) [@Michael\_Gottesman](https://forums.swift.org/u/Michael_Gottesman)\
**Post date:** [July 21, 2016, 5:02pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/1 "2016-07-21T17:02:46Z")

</div>

Hello everyone.

This is a proposal to move AutoreleasingUnsafeMutablePointer from StdlibCore to the Objective C overlay. The reason to do this is that ideally StdlibCore would not have any code specific to ObjC in it. This is a small step that we can take in this direction by moving the public API of AutoreleasingUnsafeMutablePointer to the ObjC overlay. The way that this would be done is that the implementation for AutoreleasingUnsafeMutablePointer would remain in StdlibCore, but we would add an underscore to make that API private to the standard library. Then inside the ObjC overlay, we would create a typealias to the internal API with the non-underscored name (i.e. make the typealias the public API). Then at a later point in time we can move the implementation. The reason why I am not proposing to move the implementation today is that there are dependencies in Array/Hashed Collections on AutoreleasingUnsafeMutablePointer. Moving that code is a larger project that is preconditioned on this proposal going in first as an incremental step.

Thoughts, flames, etc?  
Michael

---

<div class="post-metadata">

**Author:** ![gribozavr](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@gribozavr](https://forums.swift.org/u/gribozavr)\
**Post date:** [July 21, 2016, 5:07pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/2 "2016-07-21T17:07:33Z")

</div>

+1.

Dmitri

> **···**
>
> On Thu, Jul 21, 2016 at 10:02 AM, Michael Gottesman via swift-evolution \<swift-evolution@swift.org\> wrote:
> 
> > Hello everyone.
> > 
> > This is a proposal to move AutoreleasingUnsafeMutablePointer from StdlibCore to the Objective C overlay.
> 
> --  
> main(i,j){for(i=2;;i++){for(j=2;j\<i;j++){if(!(i%j)){j=0;break;}}if  
> (j){printf("%d\n",i);}}} /\*Dmitri Gribenko \<gribozavr@gmail.com\>\*/

---

<div class="post-metadata">

**Author:** ![dabrahams](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/dabrahams/32/9815_2.png) [@dabrahams](https://forums.swift.org/u/dabrahams)\
**Post date:** [July 21, 2016, 5:32pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/3 "2016-07-21T17:32:26Z")

</div>

> Hello everyone.
> 
> This is a proposal to move AutoreleasingUnsafeMutablePointer from  
> StdlibCore to the Objective C overlay. The reason to do this is that  
> ideally StdlibCore would not have any code specific to ObjC in  
> it. This is a small step that we can take in this direction by moving  
> the public API of AutoreleasingUnsafeMutablePointer to the ObjC  
> overlay.

+1

To avoid confusion among reviewers, I feel I need to point out that  
everything below this point is implementation detail that IMO has no  
relevance to the evolution list.

> The way that this would be done is that the implementation  
> for AutoreleasingUnsafeMutablePointer would remain in StdlibCore, but  
> we would add an underscore to make that API private to the standard  
> library. Then inside the ObjC overlay, we would create a typealias to  
> the internal API with the non-underscored name (i.e. make the  
> typealias the public API). Then at a later point in time we can move  
> the implementation. The reason why I am not proposing to move the  
> implementation today is that there are dependencies in Array/Hashed  
> Collections on AutoreleasingUnsafeMutablePointer. Moving that code is  
> a larger project that is preconditioned on this proposal going in  
> first as an incremental step.

I am not confident that we will ever be able to move that code, but as I  
said before, that's really irrelevant here. Let's do it!

> **···**
>
> on Thu Jul 21 2016, Michael Gottesman \<swift-evolution@swift.org\> wrote:
> 
> --  
> Dave

---

<div class="post-metadata">

**Author:** ![Joe\_Groff](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/joe_groff/32/1929_2.png) [@Joe\_Groff](https://forums.swift.org/u/Joe_Groff)\
**Post date:** [July 21, 2016, 6:19pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/4 "2016-07-21T18:19:12Z")

</div>

Sounds awesome. Someone will need to ping Bret Victor to update his T-shirt: [https://twitter.com/worrydream/status/558533126444445697](https://twitter.com/worrydream/status/558533126444445697)

-Joe

> **···**
>
> > On Jul 21, 2016, at 10:02 AM, Michael Gottesman via swift-evolution \<swift-evolution@swift.org\> wrote:
> > 
> > Hello everyone.
> > 
> > This is a proposal to move AutoreleasingUnsafeMutablePointer from StdlibCore to the Objective C overlay. The reason to do this is that ideally StdlibCore would not have any code specific to ObjC in it. This is a small step that we can take in this direction by moving the public API of AutoreleasingUnsafeMutablePointer to the ObjC overlay. The way that this would be done is that the implementation for AutoreleasingUnsafeMutablePointer would remain in StdlibCore, but we would add an underscore to make that API private to the standard library. Then inside the ObjC overlay, we would create a typealias to the internal API with the non-underscored name (i.e. make the typealias the public API). Then at a later point in time we can move the implementation. The reason why I am not proposing to move the implementation today is that there are dependencies in Array/Hashed Collections on AutoreleasingUnsafeMutablePointer. Moving that code is a larger project that is preconditioned on this proposal going in first as an incremental step.
> > 
> > Thoughts, flames, etc?

---

<div class="post-metadata">

**Author:** ![Felix\_Cloutier1](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@Felix\_Cloutier1](https://forums.swift.org/u/Felix_Cloutier1)\
**Post date:** [July 22, 2016, 3:23pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/5 "2016-07-22T15:23:20Z")

</div>

I agree on principle for moving it out of stdlib, but what's the Objective-C overlay?

Félix

> **···**
>
> > Le 21 juil. 2016 à 10:02:46, Michael Gottesman via swift-evolution \<swift-evolution@swift.org\> a écrit :
> > 
> > Hello everyone.
> > 
> > This is a proposal to move AutoreleasingUnsafeMutablePointer from StdlibCore to the Objective C overlay. The reason to do this is that ideally StdlibCore would not have any code specific to ObjC in it. This is a small step that we can take in this direction by moving the public API of AutoreleasingUnsafeMutablePointer to the ObjC overlay. The way that this would be done is that the implementation for AutoreleasingUnsafeMutablePointer would remain in StdlibCore, but we would add an underscore to make that API private to the standard library. Then inside the ObjC overlay, we would create a typealias to the internal API with the non-underscored name (i.e. make the typealias the public API). Then at a later point in time we can move the implementation. The reason why I am not proposing to move the implementation today is that there are dependencies in Array/Hashed Collections on AutoreleasingUnsafeMutablePointer. Moving that code is a larger project that is preconditioned on this proposal going in first as an incremental step.
> > 
> > Thoughts, flames, etc?  
> > Michael  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > swift-evolution mailing list  
> > swift-evolution@swift.org  
> > [https://lists.swift.org/mailman/listinfo/swift-evolution](https://lists.swift.org/mailman/listinfo/swift-evolution)

---

<div class="post-metadata">

**Author:** ![benrimmington](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/benrimmington/32/695_2.png) [@benrimmington](https://forums.swift.org/u/benrimmington)\
**Post date:** [July 22, 2016, 6:05pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/6 "2016-07-22T18:05:11Z")

</div>

If you want to move APIs which aren't cross-platform out of stdlib, should there be a similar proposal for the PlaygroundQuickLook enum and CustomPlaygroundQuickLookable protocol?

\<[https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt](https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt);

\<[https://github.com/apple/swift-xcode-playground-support&gt](https://github.com/apple/swift-xcode-playground-support&gt);

-- Ben

> **···**
>
> > On 21 Jul 2016, at 18:02, Michael Gottesman wrote:
> > 
> > This is a proposal to move AutoreleasingUnsafeMutablePointer from StdlibCore to the Objective C overlay. The reason to do this is that ideally StdlibCore would not have any code specific to ObjC in it. This is a small step that we can take in this direction by moving the public API of AutoreleasingUnsafeMutablePointer to the ObjC overlay. The way that this would be done is that the implementation for AutoreleasingUnsafeMutablePointer would remain in StdlibCore, but we would add an underscore to make that API private to the standard library. Then inside the ObjC overlay, we would create a typealias to the internal API with the non-underscored name (i.e. make the typealias the public API). Then at a later point in time we can move the implementation. The reason why I am not proposing to move the implementation today is that there are dependencies in Array/Hashed Collections on AutoreleasingUnsafeMutablePointer. Moving that code is a larger project that is preconditioned on this proposal going in first as an incremental step.

---

<div class="post-metadata">

**Author:** ![Austin](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/austin/32/1196_2.png) [@Austin](https://forums.swift.org/u/Austin)\
**Post date:** [July 21, 2016, 8:33pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/7 "2016-07-21T20:33:41Z")

</div>

This proposal is great.

Complaining about an API that 99% of users won't ever have to touch and  
exists to facilitate NS/CF interop is a bit precious, to be charitable.

> **···**
>
> On Thu, Jul 21, 2016 at 11:19 AM, Joe Groff via swift-evolution \< swift-evolution@swift.org\> wrote:
> 
> > \> On Jul 21, 2016, at 10:02 AM, Michael Gottesman via swift-evolution \< \> swift-evolution@swift.org\> wrote:  
> > \>  
> > \> Hello everyone.  
> > \>  
> > \> This is a proposal to move AutoreleasingUnsafeMutablePointer from  
> > StdlibCore to the Objective C overlay. The reason to do this is that  
> > ideally StdlibCore would not have any code specific to ObjC in it. This is  
> > a small step that we can take in this direction by moving the public API of  
> > AutoreleasingUnsafeMutablePointer to the ObjC overlay. The way that this  
> > would be done is that the implementation for  
> > AutoreleasingUnsafeMutablePointer would remain in StdlibCore, but we would  
> > add an underscore to make that API private to the standard library. Then  
> > inside the ObjC overlay, we would create a typealias to the internal API  
> > with the non-underscored name (i.e. make the typealias the public API).  
> > Then at a later point in time we can move the implementation. The reason  
> > why I am not proposing to move the implementation today is that there are  
> > dependencies in Array/Hashed Collections on  
> > AutoreleasingUnsafeMutablePointer. Moving that code is a larger project  
> > that is preconditioned on this proposal going in first as an incremental  
> > step.  
> > \>  
> > \> Thoughts, flames, etc?
> > 
> > Sounds awesome. Someone will need to ping Bret Victor to update his  
> > T-shirt: [https://twitter.com/worrydream/status/558533126444445697](https://twitter.com/worrydream/status/558533126444445697)
> > 
> > -Joe
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > swift-evolution mailing list  
> > swift-evolution@swift.org  
> > [https://lists.swift.org/mailman/listinfo/swift-evolution](https://lists.swift.org/mailman/listinfo/swift-evolution)

---

<div class="post-metadata">

**Author:** ![gribozavr](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@gribozavr](https://forums.swift.org/u/gribozavr)\
**Post date:** [July 22, 2016, 3:32pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/8 "2016-07-22T15:32:45Z")

</div>

It is the overlay for the 'ObjectiveC' module where NSObject is defined.

Dmitri

> **···**
>
> On Fri, Jul 22, 2016 at 8:23 AM, Félix Cloutier \<swift-evolution@swift.org\> wrote:
> 
> > I agree on principle for moving it out of stdlib, but what's the Objective-C  
> > overlay?
> 
> --  
> main(i,j){for(i=2;;i++){for(j=2;j\<i;j++){if(!(i%j)){j=0;break;}}if  
> (j){printf("%d\n",i);}}} /\*Dmitri Gribenko \<gribozavr@gmail.com\>\*/

---

<div class="post-metadata">

**Author:** ![dabrahams](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/dabrahams/32/9815_2.png) [@dabrahams](https://forums.swift.org/u/dabrahams)\
**Post date:** [July 22, 2016, 6:42pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/9 "2016-07-22T18:42:50Z")

</div>

That is a good question! We don't have an obvious existing module into  
which to move them, though, do we?

> **···**
>
> on Fri Jul 22 2016, Ben Rimmington \<swift-evolution@swift.org\> wrote:
> 
> > > On 21 Jul 2016, at 18:02, Michael Gottesman wrote:
> > > 
> > > This is a proposal to move AutoreleasingUnsafeMutablePointer from  
> > > StdlibCore to the Objective C overlay. The reason to do this is that  
> > > ideally StdlibCore would not have any code specific to ObjC in
> > 
> > > it. This is a small step that we can take in this direction by  
> > > moving the public API of AutoreleasingUnsafeMutablePointer to the  
> > > ObjC overlay. The way that this would be done is that the  
> > > implementation for AutoreleasingUnsafeMutablePointer would remain in  
> > > StdlibCore, but we would add an underscore to make that API private  
> > > to the standard library. Then inside the ObjC overlay, we would  
> > > create a typealias to the internal API with the non-underscored name  
> > > (i.e. make the typealias the public API). Then at a later point in  
> > > time we can move the implementation. The reason why I am not  
> > > proposing to move the implementation today is that there are  
> > > dependencies in Array/Hashed Collections on  
> > > AutoreleasingUnsafeMutablePointer. Moving that code is a larger  
> > > project that is preconditioned on this proposal going in first as an  
> > > incremental step.
> > 
> > If you want to move APIs which aren't cross-platform out of stdlib,  
> > should there be a similar proposal for the PlaygroundQuickLook enum  
> > and CustomPlaygroundQuickLookable protocol?
> > 
> > \<[https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt](https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt);
> > 
> > \<[https://github.com/apple/swift-xcode-playground-support&gt](https://github.com/apple/swift-xcode-playground-support&gt);
> 
> --  
> Dave

---

<div class="post-metadata">

**Author:** ![Michael\_Gottesman](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/michael_gottesman/32/280_2.png) [@Michael\_Gottesman](https://forums.swift.org/u/Michael_Gottesman)\
**Post date:** [July 22, 2016, 7:21pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/10 "2016-07-22T19:21:59Z")

</div>

> > > This is a proposal to move AutoreleasingUnsafeMutablePointer from  
> > > StdlibCore to the Objective C overlay. The reason to do this is that  
> > > ideally StdlibCore would not have any code specific to ObjC in
> > 
> > > it. This is a small step that we can take in this direction by  
> > > moving the public API of AutoreleasingUnsafeMutablePointer to the  
> > > ObjC overlay. The way that this would be done is that the  
> > > implementation for AutoreleasingUnsafeMutablePointer would remain in  
> > > StdlibCore, but we would add an underscore to make that API private  
> > > to the standard library. Then inside the ObjC overlay, we would  
> > > create a typealias to the internal API with the non-underscored name  
> > > (i.e. make the typealias the public API). Then at a later point in  
> > > time we can move the implementation. The reason why I am not  
> > > proposing to move the implementation today is that there are  
> > > dependencies in Array/Hashed Collections on  
> > > AutoreleasingUnsafeMutablePointer. Moving that code is a larger  
> > > project that is preconditioned on this proposal going in first as an  
> > > incremental step.
> > 
> > If you want to move APIs which aren't cross-platform out of stdlib,  
> > should there be a similar proposal for the PlaygroundQuickLook enum  
> > and CustomPlaygroundQuickLookable protocol?
> > 
> > \<[https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt](https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt);
> > 
> > \<[https://github.com/apple/swift-xcode-playground-support&gt](https://github.com/apple/swift-xcode-playground-support&gt);
> 
> That is a good question! We don't have an obvious existing module into  
> which to move them, though, do we?

This is just an incremental proposal. The playground work should be in a different proposal so we keep this proposal focused.

Michael

> **···**
>
> > On Jul 22, 2016, at 11:42 AM, Dave Abrahams via swift-evolution \<swift-evolution@swift.org\> wrote:  
> > on Fri Jul 22 2016, Ben Rimmington \<swift-evolution@swift.org \<mailto:swift-evolution@swift.org\>\> wrote:
> > 
> > > > On 21 Jul 2016, at 18:02, Michael Gottesman wrote:
> 
> > --  
> > Dave
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > swift-evolution mailing list  
> > swift-evolution@swift.org \<mailto:swift-evolution@swift.org\>  
> > [https://lists.swift.org/mailman/listinfo/swift-evolution](https://lists.swift.org/mailman/listinfo/swift-evolution)

---

<div class="post-metadata">

**Author:** ![Erica\_Sadun](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/erica_sadun/32/243_2.png) [@Erica\_Sadun](https://forums.swift.org/u/Erica_Sadun)\
**Post date:** [July 22, 2016, 7:32pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/11 "2016-07-22T19:32:16Z")

</div>

This philosophy appeals to me, especially when considering Swift as a  
cross-platform language. Would you all be open to "new module" proposals?  
Would that be internal or through Swift Evolution? I'm thinking also of  
the discussion about creating a Swift native Math module w/ JordanR and  
Steve C for things that don't belong in the stdlib but would be nice to have around,  
sanctioned native modules.

As for PlaygroundSupport, how does that tie into stdlib? I thought it was its own  
thing, separate from stdlib. Wouldn't both quick look and lookable belong there?

-- E

> **···**
>
> > On Jul 22, 2016, at 12:42 PM, Dave Abrahams via swift-evolution \<swift-evolution@swift.org\> wrote:
> > 
> > on Fri Jul 22 2016, Ben Rimmington \<swift-evolution@swift.org \<mailto:swift-evolution@swift.org\>\> wrote:
> > 
> > > > On 21 Jul 2016, at 18:02, Michael Gottesman wrote:
> > > > 
> > > > This is a proposal to move AutoreleasingUnsafeMutablePointer from  
> > > > StdlibCore to the Objective C overlay. The reason to do this is that  
> > > > ideally StdlibCore would not have any code specific to ObjC in
> > > 
> > > > it. This is a small step that we can take in this direction by  
> > > > moving the public API of AutoreleasingUnsafeMutablePointer to the  
> > > > ObjC overlay. The way that this would be done is that the  
> > > > implementation for AutoreleasingUnsafeMutablePointer would remain in  
> > > > StdlibCore, but we would add an underscore to make that API private  
> > > > to the standard library. Then inside the ObjC overlay, we would  
> > > > create a typealias to the internal API with the non-underscored name  
> > > > (i.e. make the typealias the public API). Then at a later point in  
> > > > time we can move the implementation. The reason why I am not  
> > > > proposing to move the implementation today is that there are  
> > > > dependencies in Array/Hashed Collections on  
> > > > AutoreleasingUnsafeMutablePointer. Moving that code is a larger  
> > > > project that is preconditioned on this proposal going in first as an  
> > > > incremental step.
> > > 
> > > If you want to move APIs which aren't cross-platform out of stdlib,  
> > > should there be a similar proposal for the PlaygroundQuickLook enum  
> > > and CustomPlaygroundQuickLookable protocol?
> > > 
> > > \<[https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt](https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt);
> > > 
> > > \<[https://github.com/apple/swift-xcode-playground-support&gt](https://github.com/apple/swift-xcode-playground-support&gt);
> > 
> > That is a good question! We don't have an obvious existing module into  
> > which to move them, though, do we?

---

<div class="post-metadata">

**Author:** ![dabrahams](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/dabrahams/32/9815_2.png) [@dabrahams](https://forums.swift.org/u/dabrahams)\
**Post date:** [July 22, 2016, 10:06pm UTC](https://forums.swift.org/t/proposal-move-public-autoreleasingunsafemutablepointer-api-from-stdlibcore-objective-c-overlay/3490/12 "2016-07-22T22:06:48Z")

</div>

> > > > This is a proposal to move AutoreleasingUnsafeMutablePointer from  
> > > > StdlibCore to the Objective C overlay. The reason to do this is that  
> > > > ideally StdlibCore would not have any code specific to ObjC in
> > > 
> > > > it. This is a small step that we can take in this direction by  
> > > > moving the public API of AutoreleasingUnsafeMutablePointer to the  
> > > > ObjC overlay. The way that this would be done is that the  
> > > > implementation for AutoreleasingUnsafeMutablePointer would remain in  
> > > > StdlibCore, but we would add an underscore to make that API private  
> > > > to the standard library. Then inside the ObjC overlay, we would  
> > > > create a typealias to the internal API with the non-underscored name  
> > > > (i.e. make the typealias the public API). Then at a later point in  
> > > > time we can move the implementation. The reason why I am not  
> > > > proposing to move the implementation today is that there are  
> > > > dependencies in Array/Hashed Collections on  
> > > > AutoreleasingUnsafeMutablePointer. Moving that code is a larger  
> > > > project that is preconditioned on this proposal going in first as an  
> > > > incremental step.
> > > 
> > > If you want to move APIs which aren't cross-platform out of stdlib,  
> > > should there be a similar proposal for the PlaygroundQuickLook enum  
> > > and CustomPlaygroundQuickLookable protocol?
> > > 
> > > \<[https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt](https://github.com/apple/swift/blob/master/stdlib/public/core/Mirror.swift&gt);
> > > 
> > > \<[https://github.com/apple/swift-xcode-playground-support&gt](https://github.com/apple/swift-xcode-playground-support&gt);
> > 
> > That is a good question! We don't have an obvious existing module into  
> > which to move them, though, do we?
> 
> This is just an incremental proposal. The playground work should be in  
> a different proposal so we keep this proposal focused.

+1

> **···**
>
> on Fri Jul 22 2016, Michael Gottesman \<swift-evolution@swift.org\> wrote:
> 
> > > On Jul 22, 2016, at 11:42 AM, Dave Abrahams via swift-evolution \>\> \<swift-evolution@swift.org\> wrote:  
> > > on Fri Jul 22 2016, Ben Rimmington \> \>\> \<swift-evolution@swift.org \>\> \<mailto:swift-evolution@swift.org\>\> \>\> wrote:
> > > 
> > > > > On 21 Jul 2016, at 18:02, Michael Gottesman wrote:
> 
> > Michael
> > 
> > > --  
> > > Dave
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > swift-evolution mailing list  
> > > swift-evolution@swift.org  
> > > \<mailto:swift-evolution@swift.org\>  
> > > [https://lists.swift.org/mailman/listinfo/swift-evolution](https://lists.swift.org/mailman/listinfo/swift-evolution)  
> > > \<[https://lists.swift.org/mailman/listinfo/swift-evolution&gt](https://lists.swift.org/mailman/listinfo/swift-evolution&gt);
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > swift-evolution mailing list  
> > swift-evolution@swift.org  
> > [https://lists.swift.org/mailman/listinfo/swift-evolution](https://lists.swift.org/mailman/listinfo/swift-evolution)
> 
> --  
> Dave
