Commit graph

239 commits

Author SHA1 Message Date
RazvanN7
17e3e642e9 Nitpicks 2016-12-19 16:02:15 +02:00
Sebastian Wilzbach
f0c5a9fad6 Follow-up style fixes for December 2016-12-08 12:32:24 +01:00
Sebastian Wilzbach
2c8166318b Follow-up style fixes for November 2016-12-08 01:46:47 +01:00
Eduard Staniloiu
adb71a6c6b enhancement issue 4851: use assert in choice function 2016-11-14 14:01:52 +02:00
Eduard Staniloiu
783d15bfa0 enhancement issue 4851: add choice function to std.random 2016-11-11 18:09:20 +02:00
Marco Leise
77fd9145e9 Make most random number generator methods @nogc. 2016-09-18 19:42:17 +02:00
Jack Stouffer
0ea4c8c0ef Remove package wide std.algorithm imports from std.random 2016-09-16 10:55:37 +01:00
Atila Neves
3de6bed5c6 Add @system and @safe to std.random unit tests 2016-07-02 11:00:32 +02:00
Jack Stouffer
f6f978b0f7 Fixed local imports in std.random 2016-07-01 12:27:32 -04:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
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