Commit graph

566 commits

Author SHA1 Message Date
Simon Cruanes
4a9b41c3cd add various functions on CCUtf8_string 2018-03-07 00:17:48 -06:00
Simon Cruanes
ea4a4e4ffb utf8string: detect overlong encodings
- also, stronger tests for utf8string
2018-03-07 00:08:27 -06:00
Simon Cruanes
be76d6bf91 fixes in utf8_string: remove some forbidden cases 2018-03-06 23:07:59 -06:00
Simon Cruanes
640ab72bb2 bugfix in CCVector.slice_seq 2018-03-06 22:28:11 -06:00
Simon Cruanes
6b5735a318 fix compat with 4.02 2018-03-06 22:27:52 -06:00
Simon Cruanes
30fca7ae9e add CCUtf8_string with basic encoding and decoding functionalities 2018-03-06 22:16:17 -06:00
JPR
8d3981d983 Adding CCNativeint 2018-02-28 08:43:14 -06:00
Simon Cruanes
98bb766de6 fix ccint 2018-02-27 21:37:28 -06:00
Simon Cruanes
da6d4a72fa enrich CCInt.Infix to get a uniform interface with CCInt{32,64} 2018-02-27 21:12:04 -06:00
Simon Cruanes
9f2ef2f461 add CCInt{32,64}.Infix 2018-02-27 21:09:35 -06:00
JPR
4a317e57c1 Correction containers.ml file 2018-02-27 20:34:37 -06:00
JPR
d8c16ec95b Adding CCInt32 module 2018-02-27 20:34:37 -06:00
Simon Cruanes
fe16608524 add CCHash.combine{5,6} 2018-02-21 10:21:36 -06:00
Christopher Zimmermann
dabb7de24a Add infix operators to CCFloat 2018-02-17 21:05:36 +01:00
Simon Cruanes
62ba3c00af make CCInt64 compatible with Int64 (breaking!) (closes #192)
conversion functions are total, even when the bit widths do not
correspond. Returning options does not make sense in this context.
2018-02-17 10:25:57 -06:00
Simon Cruanes
580dc58979 remove junk file 2018-02-17 10:16:45 -06:00
Simon Cruanes
1640ee89f2 add missing signatures of CCArrayLabels (closes #193) 2018-02-17 10:16:08 -06:00
Etienne Millon
f1adbcf2f3 Add CCFun.iterate
This adds a new `CCFun.iterate` function that computes the nth-iterate
of a function. That is, that function composed with itself n times.
2018-02-14 15:39:08 +01:00
Simon Cruanes
6b9f39d224 prepare for 2.0 2018-02-11 09:57:06 -06:00
Simon Cruanes
35f9b32a5b add CCFormat.lazy_{or,force} for printing thunks 2018-02-09 14:20:46 -06:00
Simon Cruanes
d4fafab9b7 more tests 2018-02-07 20:38:01 -06:00
Simon Cruanes
b3c796176d reindent 2018-02-07 08:22:41 -06:00
nathan moreau
3e2fbce3ee Comments - few changes 2018-02-07 14:36:03 +01:00
Simon Cruanes
24592bf926 CCFormat: fix support of unrecognized styles 2018-02-05 08:58:32 -06:00
Simon Cruanes
3ab9cd58e1 with compat >= 4.02, use Format.pp_print_text directly 2018-02-05 08:56:01 -06:00
Simon Cruanes
5814f23d16 add more tests to CCRAL and others 2018-02-04 12:38:17 -06:00
Simon Cruanes
6b48fe873e add another test 2018-02-04 12:05:58 -06:00
Dave Aitken
710266e09c Don't reverse twice in CCList.repeat 2018-02-04 17:34:30 +00:00
Simon Cruanes
c382c1c2e5 prepare for 2.0+alpha2 2018-02-01 19:18:17 -06:00
Simon Cruanes
ddf709fc5b reindent code 2018-02-01 19:01:32 -06:00
Simon Cruanes
6ec2fdeb1e
Merge pull request #183 from Fourchaux/master
Adding more comments (thanks to @Fourchaux)
2018-02-01 19:01:19 -06:00
nathan moreau
312901550f Style - small corrections 2018-02-01 22:22:13 +01:00
Simon Cruanes
5720120fa1 more tests 2018-01-31 20:07:04 -06:00
nathan moreau
775f86103e typo (CCString.mli) 2018-01-30 14:25:51 +01:00
nathan moreau
00b2638ae7 Adding more comments 2018-01-30 14:07:05 +01:00
Simon Cruanes
2939dcbf1d rename CCChar.{print,pp} and CCHeap.print (closes #181) 2018-01-29 21:15:24 -06:00
Simon Cruanes
3b8f7099cb style fixes 2018-01-28 10:31:26 -06:00
Simon Cruanes
364890ca36
Merge pull request #180 from FardaleM/CCHeap
Add `CCHeap.delete_{all,one}`
2018-01-28 10:30:20 -06:00
nathan moreau
e598aac764 Correcting test CCList.tail_opt 2018-01-28 16:36:27 +01:00
Fardale
8c2cb3f244 [CCHeap] delete_once -> delete_one 2018-01-28 12:39:44 +01:00
Fardale
8ac62ca04b [CCHeap] add delete_once 2018-01-28 12:37:21 +01:00
Fardale
50d970852e [CCHeap] update comment delete_all 2018-01-28 12:36:37 +01:00
Fardale
4e9eeb50e5 add @since for delete_all 2018-01-27 23:48:47 +01:00
Fardale
dcd975ce85 Merge remote-tracking branch 'perso/master' into CCHeap 2018-01-27 20:18:51 +01:00
Fardale
7c7f66cd7b Add CCHeap.delete_all 2018-01-26 09:31:29 +01:00
nathan moreau
b0d92f44ea Adding CCList.tail_opt 2018-01-26 09:25:17 +01:00
Simon Cruanes
446ae9f26b prepare for 2.0 2018-01-21 15:38:34 -06:00
Simon Cruanes
bc27e60a81 reindent 2018-01-21 14:39:44 -06:00
nathan moreau
25f919070f Adding comments 2 2018-01-21 17:09:42 +01:00
nathan moreau
b04e097cf4 Adding comments 2018-01-21 16:16:35 +01:00