Dolmen_std.MiscSourceReturns the extension of a file, i.e the shortest suffix containing the character '.'. Returns an empty string if such a suffix does not exists.
Returns a list with n times the given value. Returns an empty list if n
Print an option
val pp_list :
pp_sep:(Buffer.t -> 'a -> unit) ->
sep:'a ->
pp:(Buffer.t -> 'b -> unit) ->
Buffer.t ->
'b list ->
unitPrint a list with separator into a buffer
val print_opt :
?none:string ->
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a option ->
unitPrint an option.
val print_list :
print_sep:(Format.formatter -> 'a -> unit) ->
sep:'a ->
print:(Format.formatter -> 'b -> unit) ->
Format.formatter ->
'b list ->
unitPrint a list with separator into a buffer