Commit graph

95 commits

Author SHA1 Message Date
Fardale
3804dbff86 add CCVector.mapi 2019-11-17 10:43:18 -06:00
Simon Cruanes
b3ce398624 fix: remove dep from vec to list 2019-10-30 14:28:17 -05: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
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
3712db3a5b chore: use iter, not sequence, in tests 2019-04-13 03:20:56 -05:00
Simon Cruanes
3b0ceb7821 fix(vector): free elements in more functions, add fill_empty_slots_with
see #235
2018-11-30 10:29:08 -06:00
Simon Cruanes
b21ca4e0d8 wip: fix(vec): release elements after their removal
see #235
2018-11-30 10:14:09 -06:00
Simon Cruanes
e530547356 feat(vector): add Vector.{filter,filter_map}_in_place 2018-07-26 04:39:06 -05:00
Simon Cruanes
c800250038 perf: tweaks in CCVector 2018-07-25 14:32:28 -05:00
Simon Cruanes
551c837398 test: more tests for vector 2018-07-25 14:32:28 -05:00
Simon Cruanes
e510e153f8 test: add more tests in vector 2018-07-25 14:32:28 -05:00
Simon Cruanes
1998ed5090 fix(vector): bugfix in filter 2018-07-25 14:32:28 -05:00
Simon Cruanes
640ab72bb2 bugfix in CCVector.slice_seq 2018-03-06 22:28:11 -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
4cc9862ef8 refactoring in vector 2017-09-17 21:37:33 +02:00
Fabian
03f6a1fe5e Use ensure_not_empty_ when vector is known to be non-empty 2017-09-16 21:31:56 +02:00
Fabian
9219d24356 Fix CCVector.append_array (empty vector case) 2017-09-16 21:29:47 +02:00
Fabian
f1942fd0d4 More tests for CCVector.append and CCVector.append_array 2017-09-16 21:25:55 +02:00
Simon Cruanes
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
416d19a763 remove deprecated functions and modules
- `CCList.{split,findi,find}`
- `CCHashtbl.{MakeDefault,MakeCounter}`
- `CCVector.flat_map'`
2017-01-25 00:08:12 +01:00
Simon Cruanes
13b283a91d remove buffer printers, rename pretty-printers to pp 2016-11-03 18:24:11 +01:00
Simon Cruanes
4ff174ce18 (breaking) make default start/stop arguments empty in printers (#82) 2016-11-03 15:19:50 +01:00
Simon Cruanes
e4c6752b6b add CCVector.append_gen 2016-09-25 19:38:03 +02:00
Simon Cruanes
6639cb8e77 update implem of CCVector.equal; add a random test 2016-06-14 14:07:30 +02:00
Simon Cruanes
0a5e131ce1 use structural equality 2016-05-17 23:23:45 +02:00
Fabian
22e07c5c5e Improve CCVector.equal 2016-05-17 22:33:47 +02:00
Simon Cruanes
0d2fc07e52 move tests 2016-03-26 12:08:20 +01: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
Simon Cruanes
3ac1eff2af add CCVector.ro_vector as a convenience alias 2015-12-14 17:46:26 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00
Simon Cruanes
41beb03dd0 deprecate CCVector.rev', renamed into CCVector.rev_in_place 2015-10-21 15:06:00 +02:00
Simon Cruanes
526cda8ecb add CCVector.rev_iter 2015-10-21 15:02:51 +02:00
Simon Cruanes
da188ec911 tests 2015-10-21 14:53:45 +02:00
Simon Cruanes
8e85872beb deprecate CCVector.flat_map', renamed flat_map_seq; add flat_map_list 2015-10-21 14:53:45 +02:00
Simon Cruanes
3a21aab9c8 add CCVector.append_list 2015-10-21 14:53:45 +02:00
Simon Cruanes
fb3ffa1bb5 add CCVector.ensure_with 2015-10-21 14:53:45 +02:00
Simon Cruanes
2c39b63945 add CCVector.return; refactoring 2015-10-21 14:53:45 +02:00
Simon Cruanes
799089659a add CCVector.find_map 2015-10-21 14:53:45 +02:00
Simon Cruanes
6e99f1c8e8 add CCVector.to_seq_rev 2015-10-08 12:01:18 +02:00
Simon Cruanes
eb1c9bc0be move many tests into their modules with qtest 2015-09-16 16:44:10 +02:00
Simon Cruanes
1feea19383 breaking: change the exceptions in CCVector 2015-08-31 19:29:20 +02:00
Simon Cruanes
f2890c56a6 test ccvector.iteri 2015-01-08 15:36:50 +01: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/CCVector.ml (Browse further)