Commit Graph

23 Commits

Author SHA1 Message Date
Ben Rimmington
49d4893ef6 Remove BooleanType from docs/StdlibRationales.rst 2020-07-02 14:49:47 +01:00
Gwynne Raskind
687585eafa Docs: Remove all references to long-unused LitRe tool. Also incidentally removes redundant/duplicate check for sphinx-build binary. 2019-01-13 21:15:56 -06:00
Manav Gabhawala
7928140f79 [SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary 2016-04-06 20:21:58 -04:00
Max Moiseev
7fe6916bf6 Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines 2016-03-07 12:10:47 -08:00
practicalswift
82a55c80e9 [gardening] Fix recently introduced typo: "conformace" → "conformance" 2016-03-07 09:22:29 +01:00
practicalswift
202ac537bb [gardening] Fix recently introduced typo: "becasue" → "because" 2016-03-07 08:08:45 +01:00
Dmitri Gribenko
26b51be546 StdlibRationales.rst: add explanation why sorted() is not lazy 2016-03-06 22:05:06 -08:00
Dmitri Gribenko
762dd1180d StdlibRationales.rst: add missing quotes 2016-03-06 21:59:37 -08:00
Dmitri Gribenko
f3389273ba stdlib: String indices: samePositionIn(_:) => samePosition(in:) 2016-02-24 16:29:27 -08:00
Dave Abrahams
158adab721 stdlib: Add 'invoke:' label to withVaList 2016-02-23 13:14:43 -08:00
practicalswift
6c8c9bfbc9 Consistently use normal quotes ("…") instead of curly quotes (“…”). 2016-01-06 21:38:32 +01:00
Stefan Natchev
5eaa3c43d0 Fix typos in documentation 2015-12-04 09:29:24 -05:00
codester
4884284adc Fixed typo circumstances
Fixed typo
2015-12-04 00:06:13 +05:30
Dmitri Hrybenko
3a73be8b40 stdlib: add a rationale for the design of removeFirst() and removeLast()
Swift SVN r30963
2015-08-03 22:19:14 +00:00
Dmitri Hrybenko
2c68b35d3e StdlibRationales: document one more reason against map() returning Self
Swift SVN r28414
2015-05-11 08:40:54 +00:00
Dmitri Hrybenko
fe0a335a49 docs: add a rationale for use of BooleanType in the standard library
Swift SVN r27956
2015-04-30 02:17:27 +00:00
Dmitri Hrybenko
eaef05c99d docs: add a rationale for lazy functions on sequences and collections
Swift SVN r27955
2015-04-30 02:00:00 +00:00
Dmitri Hrybenko
c999f87c7c StdlibRationales: add Dave's writeup about high-order functions
Swift SVN r27823
2015-04-27 22:50:26 +00:00
Dmitri Hrybenko
3307ccf4c3 docs: add notes from past API review discussions
Swift SVN r26795
2015-04-01 02:55:25 +00:00
Dmitri Hrybenko
042dc8e69b StdlibRationales: provide better examples
Swift SVN r26474
2015-03-24 02:17:53 +00:00
Dave Abrahams
8dab08e9c9 StdlibRationales: type conversion conventions
Swift SVN r25209
2015-02-12 00:20:28 +00:00
Dmitri Hrybenko
1952a103ef ClangImporter: import size_t as Int
Converging APIs to use ``Int`` as the default integer type allows users to
write fewer explicit type conversions.

Importing ``size_t`` as a signed ``Int`` type is not be a problem for 64-bit
platforms.  32-bit platforms are important, but the usecase for an
unsigned ``size_t`` on 32-bit platforms is pretty marginal, and for code
that nevertheless needs to do that there is always the option of doing a
bitcast to ``UInt`` or using C.

rdar://18949559

Swift SVN r25070
2015-02-07 10:39:00 +00:00
Dmitri Hrybenko
f15d27715d docs/StdlibRationales: this document collects rationales for the Swift
standard library.  It is not meant to document all possible designs that
we considered, but might describe some of those, when important to
explain the design that was chosen.

Swift SVN r25067
2015-02-07 04:28:36 +00:00