documents about standard library in swift

Hi,everyone,
On this GitHub - apple/swift: The Swift Programming Language,
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.
:)

Brs
Bob

Here are the sources:

Dmitri

···

On Tue, Feb 16, 2016 at 6:06 PM, Qibo via swift-users <swift-users@swift.org> wrote:

Hi,everyone,

On this GitHub - apple/swift: The Swift Programming Language,

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.

--
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>*/

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@gmail.com]
发送时间: 2016年2月17日 10:08
收件人: Qibo
抄送: swift-users@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@swift.org> wrote:

Hi,everyone,

On this GitHub - apple/swift: The Swift Programming Language,

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:

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

To be clear, the documentation being referred to is the source code of
the standard library itself, not the documents in that repository's
docs/ directory.

···

on Tue Feb 16 2016, Dmitri Gribenko <swift-users-AT-swift.org> wrote:

On Tue, Feb 16, 2016 at 6:06 PM, Qibo via swift-users > <swift-users@swift.org> wrote:

Hi,everyone,

On this GitHub - apple/swift: The Swift Programming Language,

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

--
-Dave

Thank you, Dmitri,
In "/swift/docs", the documentation could be autogened, they will be in "_build/html".

Right.

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"?

No, unfortunately there is no way to generate the documentation
locally. But you can find an online version here:

Dmitri

···

On Thu, Feb 18, 2016 at 5:00 PM, Qibo <qibo@huawei.com> wrote:

--
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>*/