Commit graph

928 commits

Author SHA1 Message Date
Simon Cruanes
c04ee13d6e fix(array): small change in signatures 2018-03-28 20:20:09 -05:00
Simon Cruanes
5986955fb6 feat(list): add {interleave,intersperse} (closes #191) 2018-03-28 20:10:14 -05:00
Simon Cruanes
89fc7f9c77 fix(string): compat 4.02 2018-03-28 20:09:05 -05:00
Simon Cruanes
55e92b4629 feat(mono): add dotted comparison operators for floats
closes #196
2018-03-28 19:53:02 -05:00
Simon Cruanes
972a6f2720 style: reindent 2018-03-28 19:46:57 -05:00
Simon Cruanes
fe23cb496c fix: strong type aliases in Random (closes #210) 2018-03-26 11:35:31 -05:00
Simon Cruanes
323a6bb40a test: regression test for #210 2018-03-26 11:35:31 -05:00
JPR
2c9ed9c550 Reverting CCFormat.mli comment 2018-03-15 23:09:31 -05:00
JPR
d18d9fb636 Comments - Style & typos fixing 2018-03-15 23:09:31 -05:00
Simon Cruanes
7a22286ca1 use standard List.sort_uniq 2018-03-13 00:34:49 -05:00
Simon Cruanes
09d5b146f2 remove explicit dep on bytes in jbuild files 2018-03-12 22:45:48 -05:00
Simon Cruanes
2c5cda7e3d add ?margin parameter to CCFormat.ksprintf 2018-03-09 11:27:11 -06:00
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