Commit graph

12 commits

Author SHA1 Message Date
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
Christopher Zimmermann
f6e1d81ed7 Generate unlabelled interfaces from labelled ones
* add unlabel.ml which parses interfaces and removes labels in function declarations and docstrings. This is a quick hack, but it does the job.
 * an attribute [@keep_label] can be added to the labelled arguments to mark labels like ~cmp which should stay in the "unlabelled" interface
 * While augmenting the labelled interfaces I stumbled across some inconsistencies between the currend labelled / non-labelled interfaces. I used the labelling that made most sense to me and added a "FIXME" comment.
 * Maybe we should break backwards compatibility at some point and name the comparison arguments to the sorting functions in CCArrayLabels.ml ~cmp instead of ~f ?
2018-10-13 19:09:35 -05:00
Simon Cruanes
3b1de9a1c8 chore(build): migrate to dune 1.0 2018-09-16 19:53:40 -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
Simon Cruanes
b47d622f66 test: add compatibility checks between CCArray{,Labels} 2018-04-08 18:40:40 -05:00
Simon Cruanes
30fca7ae9e add CCUtf8_string with basic encoding and decoding functionalities 2018-03-06 22:16:17 -06:00
Simon Cruanes
a0a8954231 proper deps in dune 2018-02-03 15:36:53 -06:00
Simon Cruanes
968edffc03 fix 2018-02-01 09:22:41 -06:00
Simon Cruanes
223647045a update jbuild file 2018-01-31 20:07:27 -06:00
Simon Cruanes
9f48725a06 remove qtest makefile and use a script instead 2018-01-31 08:49:52 -06:00
Simon Cruanes
8f46fdb6d2 move to jbuilder (closes #165) 2018-01-14 17:43:56 -06:00