rdf
Rdf.Misc
Misc functions.
val string_of_opt : string option -> string
val opt_of_string : string -> string option
val map_opt : ('a -> 'b) -> 'a option -> 'b option
val opt_compare : ('a -> 'a -> int) -> 'a option -> 'a option -> int
val compare_list : ('a -> 'a -> int) -> 'a list -> 'a list -> int
val string_of_file : string -> string
string_of_file filename returns the content of filename in the form of one string.
string_of_file filename
filename
Sys_error
if the file could not be opened.
val split_string : ?keep_empty:bool -> string -> char list -> string list
Separate the given string according to the given list of characters.
is false by default. If set to true, the empty strings between separators are kept.
false
true