ocaml/experimental/frisch
alainfrisch aa4f427591 Add Filename.extension and Filename.remove_extension.
The definition was suggested by Daniel Bunzli. It considers
that ".", "..", ".foo" all have an empty extension.

This commit also fixes chop_extension to align with this definition
and adds remove_extension which behaves as chop_extension but
does not fail when the extension is empty.

There used to be a Misc.chop_extension_if_any in the compiler code base.
The commit also replaces it with the new Filename.remove_extension.
2016-07-10 00:16:48 +02:00
..
Makefile
copy_typedef.ml
eval.ml
extension_points.txt
ifdef.ml
js_syntax.ml
metaquot_test.ml
minidoc.ml
nomli.ml Add Filename.extension and Filename.remove_extension. 2016-07-10 00:16:48 +02:00
ppx_builder.ml
ppx_matches.ml
test_builder.ml
test_copy_typedef.ml
test_copy_typedef.mli
test_eval.ml
test_ifdef.ml
test_js.ml
test_matches.ml
test_nomli.ml
testdoc.mli
unused_exported_values.ml