Josh Berdine
9211a01f35
code review
2021-04-16 15:15:11 +01:00
Josh Berdine
9e6f453aff
feat(CCRAL): add get_and_remove_exn operation
...
It seems like a waste to repeat the search for an index to both get
the element at that index and then to remove it. The added
`get_and_remove_exn` operation performs a `remove` but returns the
found element rather than forgetting it.
2021-04-16 14:48:14 +01:00
Josh Berdine
0ab8597b78
fix: CCRAL.remove does not remove
2021-04-15 17:56:36 -04:00
Simon Cruanes
b19cd0db5f
add regression test for #364
2021-04-15 17:54:18 -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
c22fed18de
break: convert sequence to iter in data
2020-07-23 16:32:52 +02: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
3712db3a5b
chore: use iter, not sequence, in tests
2019-04-13 03:20:56 -05:00
Simon Cruanes
44f6c748aa
improve test speed and update some doc
2018-02-11 09:52:27 -06:00
Simon Cruanes
b3c796176d
reindent
2018-02-07 08:22:41 -06:00
Simon Cruanes
27c768eebf
fix bug in CCRAL.drop (see #184 )
2018-02-04 12:39:06 -06:00
Simon Cruanes
5814f23d16
add more tests to CCRAL and others
2018-02-04 12:38:17 -06:00
rand00
cfb8e55eba
CCRAL: drop: Added test for bugfix.
2018-02-04 18:54:56 +01:00
rand00
5b6b71373c
CCRAL: Fixed bug in drop_tree_.
2018-02-04 17:30:29 +01:00
Simon Cruanes
fc329fa118
rename print to pp for Format printers ( closes #153 )
2018-01-14 17:58:20 -06: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
Jacques-Pascal Deplaix
6d2063ded4
Internally shadow polymorphic operators and functions from Pervasives
2018-01-14 23:32:13 +00:00
Simon Cruanes
b2f8eb5b27
update to qcheck 0.6
2017-05-30 09:16:37 +02:00
Simon Cruanes
03fd42e67d
reindentation
2017-01-25 00:08:12 +01:00
Simon Cruanes
ad1513e36c
remove CCList.Idx, rename its functions to toplevel
2016-11-03 21:57:24 +01:00
Simon Cruanes
bb74a33385
add (--^) to CCRAl, CCFQueue, CCKlist ( closes #56 ); add CCKList.Infix
2016-04-22 22:50:37 +02:00
Fourchaux
44387de784
Correction typos (fichiers src)
2015-11-08 22:27:59 +01:00
Simon Cruanes
3c233d9cf3
use more labels in CCHashtrie,CCRAL,CCWBTree
2015-09-21 17:18:43 +02:00
Simon Cruanes
f63fd099b0
utils
2015-09-19 18:06:08 +02:00
Simon Cruanes
18289b3b72
refactor CCRAL
2015-09-19 17:57:36 +02:00
Simon Cruanes
b2c5d944f7
add many functions to CCRAL
2015-09-19 17:37:54 +02:00
Simon Cruanes
c2c344e8fc
test
2015-09-08 00:12:38 +02:00
Simon Cruanes
981e521f3c
more tests and functions in CCRAL
2015-09-08 00:02:50 +02:00
Simon Cruanes
79d57b6e2c
add tests and functions to CCRAL
2015-09-07 23:42:00 +02:00
Simon Cruanes
f4381a736f
move RAL into containers.data as CCRAL
2015-09-07 23:41:41 +02:00