[swift-evolution] [Proposal] Property behaviors

Félix Cloutier felixcca at yahoo.ca
Thu Dec 17 16:22:44 CST 2015

As I understand it, the current draft doesn't appear to support composability very well, though. If the backing property holds the storage, you won't be able, for instance, to have a `(observable, lazy)` property.

Should composability be a goal? Is there a way to classify behaviors that can and can't compose?

> Le 17 déc. 2015 à 12:37:25, Joe Groff via swift-evolution <swift-evolution at swift.org> a écrit :
> Hi everyone. Chris stole my thunder already—yeah, I've been working on a design for allowing properties to be extended with user-defined delegates^W behaviors. Here's a draft proposal that I'd like to open up for broader discussion. Thanks for taking a look!
> -Joe
> https://gist.github.com/jckarter/f3d392cf183c6b2b2ac3 <https://gist.github.com/jckarter/f3d392cf183c6b2b2ac3>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151217/90158e2f/attachment.html>

More information about the swift-evolution mailing list