Commit graph

2065 commits

Author SHA1 Message Date
Fardale
509dacb96f add CCDeque.{remove_*;update_*}
functions added:
CCDeque.remove_back
CCDeque.remove_front
CCDeque.update_back
CCDeque.update_front
2019-10-26 17:28:51 -05:00
Fardale
a33963c335 add CCDeque.{*_opt}
Functions added:
CCDeque.peek_front_opt
CCDeque.peek_back_opt
CCDeque.take_back_opt
CCDeque.take_front_opt
2019-10-23 19:16:07 -05:00
Fardale
035aac9a72 add invariant in CCDeque.ml 2019-10-23 19:16:07 -05:00
Simon Cruanes
1b8d9ca9a6 style: small fix 2019-10-22 18:14:59 -05:00
Simon Cruanes
c4631b78dc add CCDeque.{filter,filter_map} 2019-10-22 18:14:59 -05:00
Simon Cruanes
546cbd85fd add CCDeque.filter_in_place 2019-10-22 18:14:59 -05:00
Simon Cruanes
70d7dd234d add CCBool.{to,of}_int 2019-10-21 10:34:26 -05:00
Simon Cruanes
df9bbb8746 add Result.flatten_l to turn a list of results into a result of list 2019-10-16 12:22:55 -05:00
Simon Cruanes
0c23e3ba88
Merge pull request #266 from c-cube/wip-264-improve
improve on #264
2019-10-11 17:44:42 -05:00
Simon Cruanes
b25cf1ea00 fix: forgot const 2019-10-11 17:05:34 -05:00
Simon Cruanes
ab5b3aa6af refactor: remove stdlib's code, simple reimplementation of Stdlib.Fun
keep the whole codebase BSD.
2019-10-11 16:59:22 -05:00
Simon Cruanes
0867583209 test: fix qtest generation to ignore the stdlib's fun module 2019-10-11 16:45:39 -05:00
Simon Cruanes
d63bdbc0eb fix syntax error in ArrayLabels.mli 2019-10-11 16:29:50 -05:00
Simon Cruanes
6d02200429 fix syntax error in Array.mli 2019-10-11 16:29:50 -05:00
narimiran
3658864a5a add CCArray.Infix 2019-10-11 16:29:50 -05:00
Christopher Zimmermann
6a51830305 Don't use raise_with_backtrace in backward-compatible Fun.protect 2019-10-07 14:07:11 +02:00
Christopher Zimmermann
f759a92214 travis: test on OCaml 4.09, too. 2019-10-07 14:01:20 +02:00
Christopher Zimmermann
5fcd1a506e add shim for backward-compatibility Fun module 2019-10-07 13:42:48 +02:00
Christopher Zimmermann
858af75ee8 Make use new Stdlib.Fun to extend / replace CCFun 2019-10-07 12:28:22 +02:00
Christopher Zimmermann
2d5f0e3e8d Document behaviour of Fun.finally when finaliser raises 2019-10-07 12:26:21 +02:00
Simon Cruanes
beb38da150 prepare for 2.6.1 2019-09-06 20:14:42 -05:00
Simon Cruanes
080f81a9dd fix(parse): error in many 2019-09-06 14:12:08 -05:00
Simon Cruanes
19fbd33278 chore: add 4.08 to travis 2019-08-09 16:16:37 -05:00
Kate
e7c265bcf9 Fix Containers.Stdlib on OCaml 4.07 2019-07-05 11:08:55 -05:00
Simon Cruanes
a1f3f4781d prepare for 2.6 2019-06-19 10:02:55 -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
f71472ad08 fix: remove reference to sequence 2019-06-14 18:26:15 -05:00
Simon Cruanes
0c00cafb20 use markdown again for changelog 2019-06-14 18:26:14 -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
fa0290061b doc: fix bad example in CCIO 2019-05-31 09:27:42 -05:00
JPR
8e3dc5e006 Small typos 2019-05-14 11:14:12 -05:00
rymdhund
05e49a27e7 Remove unused reference 2019-04-29 09:58:29 -05:00
Simon Cruanes
9bdf31b07c fix: missing whitespace in readme 2019-04-13 05:49:31 -05:00
Simon Cruanes
b07b030898 doc: update readme a bit 2019-04-13 03:25:26 -05:00
Simon Cruanes
3712db3a5b chore: use iter, not sequence, in tests 2019-04-13 03:20:56 -05:00
Simon Cruanes
0d6c922eb1 fix: use same evaluation order as stdlib for CCList.init
close #256
2019-04-13 03:10:38 -05:00
Simon Cruanes
1654f8c826 test: add regression test for #256 2019-04-13 03:10:29 -05:00
Simon Cruanes
a325600ccb chore: modernize make watch 2019-04-13 03:05:34 -05:00
Christopher Zimmermann
bb4d8a89f3 don't use Compenv.module_of_filename
this simple implementation is good enough for us.
2019-03-07 23:15:24 +00:00
nilsbecker
c70825b250 ocamldebug section in the README (#249)
add `ocamldebug` instruction section to the README
2019-02-27 14:48:56 +00:00
Simon Cruanes
d9555ae063 chore: remove appveyor, too unreliable 2019-02-19 18:48:15 -06: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
c893716c1a feat: add remove function to het map/tbl 2019-02-16 16:15:24 -06:00
Simon Cruanes
3236d3c8b9 fix: missing type annotation for specializing int.compare 2019-02-04 13:33:52 -06:00
Simon Cruanes
f7327197fe chore: fix travis 2019-02-02 22:01:45 -06:00
Simon Cruanes
6f681256f7 fix readme across versions 2019-02-02 21:37:11 -06:00
Simon Cruanes
18024cc5e9 doc: hide some parts of the readme 2019-02-02 20:35:50 -06:00
Simon Cruanes
b308680bee doc: update doc/containers, migrate it to mdx 2019-02-02 20:34:21 -06:00