Commit graph

29 commits

Author SHA1 Message Date
JPR
0a3b04855a ... tweaks 2020-07-02 09:38:25 -05:00
Simon Cruanes
a767e4618d wip(3.0): remove deprecated functions, in particular sequence 2020-04-24 20:16:53 -04:00
Simon Cruanes
bf0227d404 feat: on 4.08, support let operators
close #276
2019-12-14 12:08:48 -06:00
Simon Cruanes
96ed8a37ab feat: introduce shim modules for 4.08 compat
- also make `unlabel` an explicit operation
- use `Stdlib` instead of `Pervasives`
- remove some warnings in Format
2019-06-14 18:26:14 -05:00
Simon Cruanes
6d1f0b9957 rename Random.sample_without_{replacement,duplicates}
- deprecate sample_without_replacement
- use `~cmp` as the named argument, more uniform

close #130
2018-10-16 11:09:27 -05:00
Simon Cruanes
323a6bb40a test: regression test for #210 2018-03-26 11:35:31 -05:00
Simon Cruanes
8f46fdb6d2 move to jbuilder (closes #165) 2018-01-14 17:43:56 -06:00
Jacques-Pascal Deplaix
9622f6f6ff Avoid uses of the polymorphic operators 2018-01-14 23:32:13 +00:00
Jacques-Pascal Deplaix
6d2063ded4 Internally shadow polymorphic operators and functions from Pervasives 2018-01-14 23:32:13 +00:00
Simon Cruanes
75e3962ba1 make many modules extensions of stdlib (close #109)
for : Random Array List ArrayLabels ListLabels Char String
2017-05-01 16:54:23 +02:00
Simon Cruanes
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
6f8717ccd0 fix 2016-04-18 15:50:53 +02:00
Simon Cruanes
b1b8bc1096 also fail in CCRandom.sample_without_replacement if n<=0 2016-04-18 15:39:55 +02:00
Simon Cruanes
203d870357 fix test and have CCRandom.split_list fail on len=0 2016-04-18 15:33:37 +02:00
Simon Cruanes
2f196ee9a2 more doc and test for CCRandom 2016-04-18 15:05:59 +02:00
Simon Cruanes
71794d8d45 migrate to new qtest 2016-03-20 16:02:11 +01:00
Simon Cruanes
41536c6dd6 fix test 2016-02-21 18:33:33 +01:00
Simon Cruanes
d2fbd8dd77 add CCRandom.pick_{list,array} 2016-02-20 23:29:44 +01:00
Simon Cruanes
34445bead0 replace headers in the rest of containers core 2016-02-20 23:24:24 +01:00
Simon Cruanes
4d9b1d68ed cleanup; use short-paths 2015-11-13 16:23:49 +01:00
Simon Cruanes
ccf605de12 use qtest's random seed to test Random.split_list 2015-11-13 16:17:40 +01:00
octachron
de2a51d62e Fix a wasteful sort in sample_without_replacement 2015-11-13 06:18:17 +02:00
octachron
2bb6423109 CCRandom: add an uniformity test 2015-11-11 23:41:04 +02:00
octachron
06f9ca3eee CCRandom: Make split_list uniform 2015-11-11 23:40:59 +02:00
octachron
08403bac9f CCRandom: Add sample_without_replacement 2015-11-11 23:40:25 +02:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00
Simon Cruanes
9f7be2ddc9 enable -safe-string on the whole project, with some linked refactorings 2015-06-26 14:05:45 +02:00
Simon Cruanes
56d53bfef6 bugfix: CCRandom.float_range 2015-06-17 15:57:39 +02:00
Simon Cruanes
61465fa19a remove cgi/; move sub-libraries to their own subdir each; mv everything into src/ 2014-12-16 23:41:59 +01:00
Renamed from core/CCRandom.ml (Browse further)