[swift-users] 答复: documents about standard library in swift

Qibo qibo at huawei.com
Thu Feb 18 19:00:22 CST 2016


Thank you, Dmitri,
In "/swift/docs", the documentation could be autogened, they will be in "_build/html".
The source of "swift/stdlib/public/core" is implement of standard library,
In "/swift/stdlib/ "is there some methods to autogen documentions like in "docs"?
Brs
Bob

-----邮件原件-----
发件人: Dmitri Gribenko [mailto:gribozavr at gmail.com] 
发送时间: 2016年2月17日 10:08
收件人: Qibo
抄送: swift-users at swift.org
主题: Re: [swift-users] documents about standard library in swift

On Tue, Feb 16, 2016 at 6:06 PM, Qibo via swift-users <swift-users at swift.org> wrote:
> Hi,everyone,
>
> On this https://github.com/apple/swift,
>
> Documentation described
>
> “Another source of documentation is the standard library itself, 
> located in stdlib.
>
> Much of the language is actually implemented in the library (including 
> Int),
>
> and the standard library gives some examples of what can be expressed 
> today.”
>
> Anyone knows where the stdlib documents is.

Here are the sources:
https://github.com/apple/swift/tree/master/stdlib/public/core

Dmitri

--
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 at gmail.com>*/


More information about the swift-users mailing list