Commit graph

36 commits

Author SHA1 Message Date
Simon Cruanes
0b0dd83423
reformat all the things 2024-05-13 20:57:53 -04:00
Simon Cruanes
10865eaced reformat 2022-07-04 13:36:06 -04:00
Simon Cruanes
1111c0fa9a
wip: convert tests into testlib 2022-07-02 14:47:03 -04:00
Simon Cruanes
58ac755f82
chore: move to ounit2
see if that fixes the windows build.
2022-06-09 21:39:09 -04:00
Fardale
c22fed18de break: convert sequence to iter in data 2020-07-23 16:32:52 +02:00
Simon Cruanes
2ed821bbe1 style: reindent in ccdeque 2019-11-05 18:23:06 -06:00
Fardale
2fa12665dd change type of CCDeque
Change the definition of the type in CCDeque to remove the Zero cell.
This new type enforce one invariant.
2019-11-04 21:47:09 -06:00
Simon Cruanes
c1704d71ff style: improve new code 2019-10-29 21:50:22 -05:00
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
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
fc329fa118 rename print to pp for Format printers (closes #153) 2018-01-14 17:58:20 -06:00
Jacques-Pascal Deplaix
3c808f397e Shadow the physical equality operator 2018-01-14 23:33:39 +00: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
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
c89186a100 remove CCPrint (also, update tests relying on it) 2016-11-03 17:57:41 +01:00
Simon Cruanes
b9f7d2e18a comments and doc for CCDeque 2016-04-19 00:19:13 +02:00
Simon Cruanes
eee89aa7a4 testing frenzy 2015-09-16 21:59:30 +02:00
Simon Cruanes
eb1c9bc0be move many tests into their modules with qtest 2015-09-16 16:44:10 +02:00
Simon Cruanes
944c85167f add CCDeque.clear 2015-08-31 18:39:53 +02:00
Simon Cruanes
f77172ee26 more tests 2015-08-31 18:37:38 +02:00
Simon Cruanes
4b4764f3bf new implementation for CCDeque, more efficient 2015-08-31 18:31:01 +02:00
Simon Cruanes
7d117da5bd some changes in CCDeque (doc and tests) 2015-08-31 16:59:45 +02:00
Simon Cruanes
e248b555da breaking: change signature of CCDeque.of_seq 2015-08-31 16:16:12 +02:00
Simon Cruanes
d204e1946f add CCDeque.{fold,append_{front,back},{of,to}_{gen,list}} and others 2015-08-31 16:13:28 +02:00
Simon Cruanes
1baf4c80ea update .mli only 2015-08-31 15:49:18 +02:00
Simon Cruanes
b3a527055f add CCDeque.print 2015-08-11 23:13:09 +02:00
Simon Cruanes
9f7be2ddc9 enable -safe-string on the whole project, with some linked refactorings 2015-06-26 14:05:45 +02:00
Simon Cruanes
61465fa19a remove cgi/; move sub-libraries to their own subdir each; mv everything into src/ 2014-12-16 23:41:59 +01:00
Renamed from core/CCDeque.ml (Browse further)