Commit graph

5 commits

Author SHA1 Message Date
JPR
8e3dc5e006 Small typos 2019-05-14 11:14:12 -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
Simon Cruanes
ef8d19ac65 some typos in unlabel 2018-12-03 09:47:35 -06:00
Christopher Zimmermann
333fa8067e add containersLabels.ml 2018-11-03 01:14:12 +00: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