Simon Cruanes
|
1a23731730
|
remove conditional over OCaml >= 4.08
in particular, all the let-ops are now unconditional!
|
2023-06-24 15:22:21 -04:00 |
|
Simon Cruanes
|
bbfbe0f770
|
fix many, many warnings
|
2023-06-06 22:16:20 -04:00 |
|
Fardale
|
b4c164a8e4
|
fix: __FUNCTION__ was only introduced in 4.12
|
2023-04-12 13:56:53 +02:00 |
|
Fardale
|
ff3e838553
|
CCArray(feat): Add max,argmax,min,argmin and their _exn conterpart
|
2023-04-12 11:52:57 +02:00 |
|
Fardale
|
5227fb975c
|
feat(CCArray): add mapi_inplace
|
2022-10-19 12:07:13 +02:00 |
|
Simon Cruanes
|
10865eaced
|
reformat
|
2022-07-04 13:36:06 -04:00 |
|
Simon Cruanes
|
0bee9bdd55
|
wip: remove tests from src/
|
2022-06-30 22:28:07 -04:00 |
|
Fardale
|
8a71b1dcaa
|
feat(ccarray): add CCArray.map_inplace
|
2022-05-12 11:03:38 +02:00 |
|
Simon Cruanes
|
f6dc3b23f8
|
fix: compat in CCArray
|
2022-02-21 22:26:51 -05:00 |
|
Simon Cruanes
|
b837509de9
|
remove many more shims
|
2022-02-21 21:52:06 -05:00 |
|
Simon Cruanes
|
6f3a7d902a
|
remove more shims
|
2022-02-21 21:25:39 -05:00 |
|
Simon Cruanes
|
d60bea1a98
|
fix build for 4.11 by working around -nolabels
|
2020-07-30 10:02:16 -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
|
c85c135157
|
break: remove klist type and functions from core
|
2020-07-23 16:32:52 +02:00 |
|
Fardale
|
8c3d716ab1
|
break: rename fonction from *std_seq* to *seq*
|
2020-07-23 16:32:52 +02:00 |
|
JPR
|
0a3b04855a
|
... tweaks
|
2020-07-02 09:38:25 -05:00 |
|
Fardale
|
5dc96ebfa8
|
chore(array): clean CCArray and CCArrayLabels
Remove function define in the stdlib and in Infix
|
2020-05-23 12:52:26 +02:00 |
|
Fardale
|
7dd45a0fa8
|
fix(CCArray) fix use of Stdlib for ocaml < 4.07
|
2020-04-28 22:31:33 +02:00 |
|
Fardale
|
4267210da9
|
CCArray: use raise_notrace instead of raise
|
2020-04-28 22:26:20 +02:00 |
|
Fardale
|
c50672ff7a
|
feat(CCArray): add optional argument eq to mem
|
2020-04-28 15:41:01 +02:00 |
|
Simon Cruanes
|
a767e4618d
|
wip(3.0): remove deprecated functions, in particular sequence
|
2020-04-24 20:16:53 -04:00 |
|
Fardale
|
f3719d29aa
|
clean(Array): remove functions defined in Stdlib
|
2020-03-05 17:50:30 -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 |
|
Simon Cruanes
|
74e7d87872
|
fix: backport a pseudo Floatarray pre 4.06
|
2019-12-14 12:08:48 -06:00 |
|
Simon Cruanes
|
62672fdbd2
|
fix test
|
2019-12-14 12:08:48 -06:00 |
|
Simon Cruanes
|
b2d9e69042
|
feat: put the let operators inside the Infix modules when relevant
|
2019-12-14 12:08:48 -06:00 |
|
Simon Cruanes
|
bf0227d404
|
feat: on 4.08, support let operators
close #276
|
2019-12-14 12:08:48 -06:00 |
|
Simon Cruanes
|
28f8872ef5
|
feat: add monoid_product to Array and Vector
|
2019-12-10 21:38:07 -06:00 |
|
Simon Cruanes
|
1b5b23a8f1
|
remove unlabel, remove all traces of Result
|
2019-12-10 20:48:38 -06: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 |
|
narimiran
|
3658864a5a
|
add CCArray.Infix
|
2019-10-11 16:29:50 -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
|
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
|
2a9795090b
|
test: improve perf by changing random gens
|
2018-10-13 18:52:22 -05:00 |
|
Simon Cruanes
|
960e704bb1
|
test: disable labels for tests
necessary for the consistency checks of Label modules
|
2018-04-08 18:48:54 -05:00 |
|
Jacques-Pascal Deplaix
|
35c2d0ed54
|
Fix tests
|
2018-01-14 23:32:13 +00:00 |
|
Jacques-Pascal Deplaix
|
9622f6f6ff
|
Avoid uses of the polymorphic operators
|
2018-01-14 23:32:13 +00:00 |
|
Simon Cruanes
|
d7b90d3ba3
|
add CCArray.swap
|
2017-09-10 19:56:39 +02:00 |
|
Simon Cruanes
|
5d768aeeb2
|
add CCArray.find_map{,_i}, deprecated older names (closes #129)
|
2017-05-20 13:18:36 +02:00 |
|
Simon Cruanes
|
75e3962ba1
|
make many modules extensions of stdlib (close #109)
for : Random Array List ArrayLabels ListLabels Char String
|
2017-05-01 16:54:23 +02:00 |
|
Simon Cruanes
|
923e83b0fc
|
make tests faster
|
2017-03-16 10:27:00 +01:00 |
|
Simon Cruanes
|
d135f73c76
|
add CCArray.{fold_map,scan_left} (close #101)
|
2017-03-09 21:42:44 +01:00 |
|
Simon Cruanes
|
03fd42e67d
|
reindentation
|
2017-01-25 00:08:12 +01:00 |
|
Simon Cruanes
|
9b53e3c2a5
|
use Labels versions of CCList and CCArray
|
2016-12-29 11:07:44 +01:00 |
|
Simon Cruanes
|
b1837e7d05
|
add labels in CCArray
|
2016-11-11 00:39:58 +01:00 |
|
Simon Cruanes
|
4f6bce60e5
|
split CCArray.Sub into CCArray_slice
|
2016-11-03 21:24:21 +01:00 |
|
Simon Cruanes
|
13b283a91d
|
remove buffer printers, rename pretty-printers to pp
|
2016-11-03 18:24:11 +01:00 |
|
Simon Cruanes
|
18b32f8313
|
bugfixes in CCArray.Sub
|
2016-11-01 12:17:01 +01:00 |
|