Module V1.Flags
val write_sexp : string -> string list -> unitwrite_sexp fname swrites the list of stringssto the filefnamein an appropriate format so that it can used in jbuild files with(:include [fname]).
val write_lines : string -> string list -> unitwrite_lines fname swrites the list of stringsto the filefnamewith one line per string so that it can be used in Dune action rules with%{read-lines:<path>}.
val extract_comma_space_separated_words : string -> string listextract_comma_space_separated_words sreturns a list of words insthat are separated by a newline, tab, space or comma character.
val extract_blank_separated_words : string -> string listextract_blank_separated_words sreturns a list of words insthat are separated by a tab or space character.
val extract_words : string -> is_word_char:(char -> bool) -> string listextract_words s ~is_word_charwill split the stringsinto a list of words. A valid word character is defined by theis_word_charpredicate returning true and anything else is considered a separator. Any blank words are filtered out of the results.