Commit graph

53 commits

Author SHA1 Message Date
Simon Cruanes
138047ef11 feat: add {to,of,add}_{iter,std_seq} where relevant; deprecations
deprecate `seq` named functions (for `iter`)
deprecate klist functions (for `std_seq`)

close #231
2019-12-14 16:29:07 -06:00
Simon Cruanes
74e7d87872 fix: backport a pseudo Floatarray pre 4.06 2019-12-14 12:08:48 -06:00
Simon Cruanes
62672fdbd2 fix test 2019-12-14 12:08:48 -06:00
Simon Cruanes
b2d9e69042 feat: put the let operators inside the Infix modules when relevant 2019-12-14 12:08:48 -06:00
Simon Cruanes
bf0227d404 feat: on 4.08, support let operators
close #276
2019-12-14 12:08:48 -06:00
Simon Cruanes
28f8872ef5 feat: add monoid_product to Array and Vector 2019-12-10 21:38:07 -06:00
Simon Cruanes
1b5b23a8f1 remove unlabel, remove all traces of Result 2019-12-10 20:48:38 -06:00
Fardale
0dafceb708 Adding to_string (#270)
* add `CCArray.to_string`
* add `CCArrayLabels.to_string`
* add `CCList.to_string`
* add `CCListLabels.to_string`
* add `CCChar.to_string`
* add `CCPair.to_string`
* add `CCHeap.to_string`
* add `CCSet.to_string`
* add `CCVector.to_string`
2019-10-30 14:26:52 -05:00
narimiran
3658864a5a add CCArray.Infix 2019-10-11 16:29:50 -05:00
Simon Cruanes
21feaaf1ca fix compilation on < 4.08 2019-06-19 10:02:55 -05:00
Simon Cruanes
7ff5aa0d18 fix: add shims for CCArray 2019-06-18 23:10:26 -05:00
Simon Cruanes
bfa5d9adde breaking: make Array.random_choose raise invalid_arg instead of not_found 2019-02-19 18:46:08 -06:00
Simon Cruanes
f190964cfd fix: make Array.random_choose fail on empty array at creation time
see #246
2019-02-18 20:41:17 -06:00
Simon Cruanes
2a9795090b test: improve perf by changing random gens 2018-10-13 18:52:22 -05:00
Simon Cruanes
960e704bb1 test: disable labels for tests
necessary for the consistency checks of Label modules
2018-04-08 18:48:54 -05:00
Jacques-Pascal Deplaix
35c2d0ed54 Fix tests 2018-01-14 23:32:13 +00:00
Jacques-Pascal Deplaix
9622f6f6ff Avoid uses of the polymorphic operators 2018-01-14 23:32:13 +00:00
Simon Cruanes
d7b90d3ba3 add CCArray.swap 2017-09-10 19:56:39 +02:00
Simon Cruanes
5d768aeeb2 add CCArray.find_map{,_i}, deprecated older names (closes #129) 2017-05-20 13:18:36 +02: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
923e83b0fc make tests faster 2017-03-16 10:27:00 +01:00
Simon Cruanes
d135f73c76 add CCArray.{fold_map,scan_left} (close #101) 2017-03-09 21:42:44 +01:00
Simon Cruanes
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
9b53e3c2a5 use Labels versions of CCList and CCArray 2016-12-29 11:07:44 +01:00
Simon Cruanes
b1837e7d05 add labels in CCArray 2016-11-11 00:39:58 +01:00
Simon Cruanes
4f6bce60e5 split CCArray.Sub into CCArray_slice 2016-11-03 21:24:21 +01:00
Simon Cruanes
13b283a91d remove buffer printers, rename pretty-printers to pp 2016-11-03 18:24:11 +01:00
Simon Cruanes
18b32f8313 bugfixes in CCArray.Sub 2016-11-01 12:17:01 +01:00
Simon Cruanes
61ff75dca0 bugfix + tests for CCArray.Sub.sub 2016-11-01 11:46:14 +01:00
Simon Cruanes
b7db149e27 add CCArray.Sub.to_list 2016-11-01 11:27:07 +01:00
Simon Cruanes
7ba8f58571 fix typo 2016-10-19 23:59:23 +02:00
Simon Cruanes
2a872907a1 add CCArray.{sorted,sort_indices,sort_ranking} (closes #81) 2016-10-19 18:18:05 +02:00
Simon Cruanes
bc7967054f prepare for 0.20 2016-10-14 11:33:53 +02:00
Simon Cruanes
81ca239ccc bugfix in CCArray.equal 2016-10-14 11:28:44 +02:00
Simon Cruanes
59a463a882 small fix + test 2016-10-14 11:24:57 +02:00
Simon Cruanes
fed7dd41e0 add functions in CCArray: fold2,iter2,map2 2016-10-13 10:04:58 +02:00
Simon Cruanes
53030c4c29 more general types for CCArray.{for_all2,exists2} 2016-10-13 10:04:23 +02:00
Simon Cruanes
a99720945b add CCArray.rev 2016-10-13 10:01:21 +02:00
Simon Cruanes
228011d9aa prepare for 0.18 2016-06-14 14:12:02 +02:00
Simon Cruanes
4c998bf57a add CCArray.get_safe (close #70) 2016-05-20 11:32:27 +02:00
Simon Cruanes
8d41623ba5 add {CCArray,CCVector,CCList}.(--^) for right-open ranges 2016-03-26 12:05:31 +01:00
Simon Cruanes
34445bead0 replace headers in the rest of containers core 2016-02-20 23:24:24 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00
Simon Cruanes
2608fc90bb tune CCarray.sort_generic 2015-10-24 00:13:02 +02:00
Simon Cruanes
f7a7ce19b3 add CCArray.sort_generic for sorting over array-like structures in place 2015-10-23 23:47:07 +02:00
Simon Cruanes
044cbf0c20 prepare for 0.13 2015-09-23 16:26:07 +02:00
Simon Cruanes
eee89aa7a4 testing frenzy 2015-09-16 21:59:30 +02:00
Simon Cruanes
d5db6d0bdb add CCArray.bsearch (back from batteries) 2015-09-16 21:56:53 +02:00
Simon Cruanes
ac180aa339 remove trailing whitespace 2015-03-02 23:39:10 +01:00
Simon Cruanes
dea635f8e3 version 0.8 2015-01-26 20:34:36 +01:00