Commit graph

39 commits

Author SHA1 Message Date
Simon Cruanes
bbfbe0f770
fix many, many warnings 2023-06-06 22:16:20 -04:00
Simon Cruanes
10865eaced reformat 2022-07-04 13:36:06 -04:00
Simon Cruanes
b695918e99
move all core tests to new testlib 2022-07-02 00:29:25 -04:00
Fardale
302dba6cb5 chore(CCOption): rename CCOpt to CCOption and deprecate CCOpt
In the stdlib the module associated with the option type is called
Option and in containers it was called CCOpt. Renaming CCOpt to CCOption
make the name of containers module uniforme with respect to the stdlib.
2021-09-22 23:07:05 +02:00
Simon Cruanes
739dd4412c prepare for 3.3 2021-04-01 22:16:40 -04:00
Simon Cruanes
01f70cc802 update code and comments 2021-02-07 13:03:53 -05:00
Arnaud Spiwack
85decd732c
CCMap: implement {of,add}_*_with family of function with update (#352)
This is comparable in conciseness and clarity as an explicit try/with
but it paves the way for a more efficient implementation using the
`update` from the Stdlib which, I presume, uses a one-pass algorithm.
2021-02-07 13:03:33 -05:00
Simon Cruanes
51bb9175f3 add CCMap.of_{list,iter,seq}_with functions 2021-02-06 11:50:41 -05:00
Simon Cruanes
5ee25afad5 test: add a test for update 2020-09-21 13:49:49 -04:00
Josh Berdine
e6f77edf1a Move definition of CCMap.update so that it is shadowed by Stdlib.Map.update
Signed-off-by: Josh Berdine <josh@berdine.net>
2020-09-21 13:49:25 -04:00
Fardale
01da25cead break: change pp functions to take unit printer for sep/stop/start
sep/stop/start -> pp_sep/pp_stop/pp_start
string -> unit printer
2020-07-27 22:57:29 -04:00
Fardale
8c3d716ab1 break: rename fonction from *std_seq* to *seq* 2020-07-23 16:32:52 +02:00
Simon Cruanes
a767e4618d wip(3.0): remove deprecated functions, in particular sequence 2020-04-24 20:16:53 -04:00
Fardale
80ad2f349f clean(Map): remove functions defined in Stdlib 2020-03-05 17:50:30 -06:00
Simon Cruanes
5126973173 prepare for 2.8 2019-12-14 17:50:35 -06:00
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
nathan moreau
00b2638ae7 Adding more comments 2018-01-30 14:07:05 +01:00
Simon Cruanes
18c9f88411 prepare for 1.5 2018-01-02 18:14:32 +01:00
Simon Cruanes
632526e407 improve compatibility with the stdlib 2017-12-15 09:49:54 +01:00
Simon Cruanes
f65bcd212d small comment 2017-11-29 14:58:35 +01:00
Simon Cruanes
d09820b916 add functions from 4.05 into CC{Map,Set} 2017-11-29 14:58:35 +01:00
Simon Cruanes
d6f7f1570e prepare for 1.4 2017-10-11 09:29:31 +02:00
Simon Cruanes
4096122979 add CCMap.union 2017-09-30 15:02:03 +02:00
Simon Cruanes
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
ed38c25711 replace or_ by default in labelled functions 2016-12-29 11:45:55 +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
73eecfb10d prepare for 0.17 2016-04-22 23:01:37 +02:00
Simon Cruanes
d694d20b26 modify CCPersistentHashtbl.merge and add CCMap.merge_safe 2016-03-14 20:13:20 +01:00
Simon Cruanes
a2179d4355 prepare for 0.16 2016-02-24 22:08:26 +01:00
Simon Cruanes
708a92d027 add {CCMap,CCHashtbl}.get_or for lookup with default value 2016-02-18 12:21:21 +01:00
Simon Cruanes
db67b19fe8 update some headers, formatting 2016-02-18 12:18:19 +01:00
Simon Cruanes
d569cf59bb prepare for 0.15 2015-12-22 10:34:14 +01:00
Simon Cruanes
191953feaf add CCMap.{keys,values} 2015-11-30 12:33:59 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00
Simon Cruanes
60aea81750 prepare for 0.14 2015-11-08 13:04:09 +01:00
Simon Cruanes
344844ff9f add CCMap.add_{list,seq} 2015-10-28 15:41:06 +01:00
Simon Cruanes
5a2c7f3f60 fix small uglyness in Map.print 2015-10-26 17:21:01 +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/CCMap.ml (Browse further)