Commit graph

229 commits

Author SHA1 Message Date
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Jack Stouffer
c59a606fd5 Fixed long lines in std/random.d 2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Sebastian Wilzbach
780f01d688 std.random: remove upgrading from D1 notice 2016-04-21 02:36:05 +03:00
Sebastian Wilzbach
b05f4afe1c change usage of swapAt to UFCS 2016-04-08 01:18:45 +03:00
Miha Marolt
d22a24a702 Use proper right parenthesis in example's comment: "$(RPAREN)" -> ")" 2016-03-08 18:47:32 +01:00
Joseph Rushton Wakeling
4031f59d34 Remove ddoc references to 'second-generation std.random'
While it would definitely be nice to deliver on this idea, better not to
mention it until we have an actual implementation lined up and approved.
2016-02-26 22:22:13 +01:00
David Herberth
82096b5cf5 RandomSample.front was not documented
The documentation of std.random.RandomSample shows all range primitives except .front
2015-12-17 22:21:31 +01:00
H. S. Teoh
64f43ce42c Merge pull request #3854 from 9rnsr/enforceProp
fix property enforcement
2015-12-15 09:37:12 -08:00
k-hara
e864e53adc fix property enforcement 2015-12-04 15:42:53 +09:00
Jonathan M Davis
26a4340c30 Remove stray uses of TickDuration from Phobos internals. 2015-12-03 03:01:03 -08:00
Vladimir Panteleev
19b0be7de4 fix Issue 15238 - Heisenbug running std.random unittests 2015-10-27 09:44:18 +00:00
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Robert burner Schadek
4f5eaf890e std.random unittest docs
quickfur style
2015-09-10 11:12:56 +02:00
Walter Bright
f9466a982f remove unnecessary uses of std.format 2015-06-30 19:45:15 -07:00
Lionello Lunesu
8fc047f277 Fixed DDoc warnings 2015-05-30 09:17:43 -06:00
Steven Schveighoffer
ae6ec9c2bd Merge pull request #3302 from GassaFM/issue_11738
reverted partialShuffle to match its documentation (issue 11738)
2015-05-21 12:07:28 -04:00
Ivan Kazmenko
e9bb73f184 use a fixed seed 2015-05-21 18:24:12 +03:00
Ivan Kazmenko
7329ef7eae reverted partialShuffle to match its documentation (issue 11738) 2015-05-21 13:25:51 +03:00
Walter Bright
d9a9826e55 Revert "Introducing std.meta package" 2015-05-06 14:36:45 -07:00
Dicebot
1c9ae027ef Rename old std.typetuple symbols inside Phobos
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3 TypeTuple -> MetaList inside Phobos 2015-05-05 22:22:11 +03:00
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
Jan
76326acc32 Fixed saying $(RPAREN) in std.random documentation 2015-04-18 16:05:07 +02:00
Basile Burg
fa0715e588 Update random.d 2015-04-04 12:24:17 +02:00
Brad Anderson
641aa4ee42 Missing Ddoc parenthesis in std.random docs 2015-03-31 15:40:50 -06:00
Brad Anderson
5114f1d0e0 Minor std.random documentation fixes 2015-03-29 22:29:29 -06:00
monarch dodra
2679e44773 Merge pull request #2969 from e10s/patch-8
Fix Issue 13649 - uniform01 Assertion failure
2015-03-12 12:25:20 +01:00
Ilya Yaroshenko
767e8d164b fix docs 2015-02-20 10:57:43 +03:00
e10s
c561951994 Fix Issue 13649 - uniform01 Assertion failure 2015-02-15 01:27:48 +09:00
k-hara
a40422b2aa Add missing imports 2015-01-07 00:18:56 +09:00
Joseph Rushton Wakeling
a1a76ceebd Add Params/Returns ddoc to free functions in std.random
The existing docs have not been tweaked in any way, so the new additions
result in some duplication of information.  This seems a better first
step than a more major revision.

Documentation for struct methods has been left unchanged, and will be
addressed in a later patch.

I've also left the documentation for uniformDistribution unchanged as
IMHO this function is so broken in its design, it really ought to be
deprecated and removed :-)
2015-01-06 00:20:16 +01:00
sinkuu
7eab0ffa0a Remove redundant initialization 2014-12-06 18:13:58 +09:00
sinkuu
2e5bb50531 Fix issue 12589 - std.random.randomCover fails for empty ranges 2014-12-06 17:51:26 +09:00
H. S. Teoh
64d5a3a806 Merge pull request #2777 from WalterBright/upgrade
add upgrade hints
2014-11-30 19:24:48 -08:00
Walter Bright
21221cf34a add upgrade hints 2014-11-30 18:51:02 -08:00
Rainer Schuetze
7c2f962b10 make nested foreach over TypeTuple bodies into lambdas to avoid huge functions 2014-11-28 17:15:37 +01:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
H. S. Teoh
97c2f565bc Merge pull request #2754 from 9il/random
std.random: update imports
2014-11-21 14:41:04 -08:00
Ilya Yaroshenko
ef94b26162 std.random: update imports 2014-11-21 00:18:06 +03:00
Lars T. Kyllingstad
96583fe46b isNaN() is not a property
...so it shouldn't be used as one.
2014-11-20 20:22:00 +01:00
Andrei Alexandrescu
68beb7c515 Merge pull request #2613 from braddr/safe
mark most of std.algorithm's unit tests as @safe
2014-10-19 10:29:32 -07:00
Martin Nowak
c855945f46 Merge pull request #2614 from Geod24/fix-license-doc
[DDOC] Usage of WEB macro for License everywhere
2014-10-17 00:16:49 +02:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
Joakim
093d636de4 Deprecate std.c.* and move all remaining declarations to core.stdc.* 2014-10-14 09:26:21 -05:00
Brad Roberts
4e66cda63c uniform should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
f70e1e41e4 Fix unpredictableSeed so that rndstuff can be used in @safe code
Allows:
1) canFind's tests to be @safe
2) allows the remainder of find's tests to be @safe
2014-10-13 00:04:37 -07:00
H. S. Teoh
4a6890fc40 Preemptive fix of other places where .sort is used 2014-09-28 08:04:52 -07:00