[swift-evolution] [SR-933] Rename flatten to flattened

Howard Lovatt howard.lovatt at gmail.com
Wed Apr 13 18:27:22 CDT 2016


With regard to trig they are functions:

 let s = sin(x)

so not really relevant. But if the were made members then:

  let s = x.sined
  x.sin()

Would read well.

On Tuesday, 12 April 2016, Brent Royal-Gordon via swift-evolution <
swift-evolution at swift.org> wrote:

> >> Do you also think that trigonometry should be `foo.sined`,
> `foo.cosined`, and `foo.tangented`?
> >
> > sine, cosine etc. are all nouns so I think as computed properties they’d
> be fine as is?
>
> So you would favor these?
>
>         _ = number.sine()
>         _ = number.cosine()
>         _ = number.tangent()
>
>         number.formSine()
>         number.formCosine()
>         number.formTangent()
>
> --
> Brent Royal-Gordon
> Architechies
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <javascript:;>
> https://lists.swift.org/mailman/listinfo/swift-evolution
>


-- 
-- Howard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160414/f7b94fd5/attachment.html>


More information about the swift-evolution mailing list