It is just same as current grammar:
extension TrackCountProvider where Self : PublishDateProvider { ... }
with a more logical format
extension TrackCountProvider & PublishDateProvider { ... }
> e.g.
>
> extensionTrackCountProvider&PublishDateProvider{
> vartrackCountAndPublishDateText:String{
> varinfos: [String] = []
>
> iflettrackCount = trackCount{
> infos.append("\(trackCount)")
>
> }
>
> ifletpublishDateText = publishDate?.text {
> infos.append(publishDateText)
> }
>
> returninfos.joined(separator: seperator)
> }
> }
>
>
>
>
> _______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution