Module Odoc_document.Utils

val option_of_result : ( 'a, 'b ) Result.result -> 'c option
val flatmap : ?sep:'a list -> f:( 'b -> 'a list ) -> 'c list -> 'a list
val skip_until : p:( 'a -> bool ) -> 'b list -> 'c list
val split_at : f:( 'a -> bool ) -> 'b list -> 'c list * 'd list
val compute_length_source : Types.Source.t -> int
val compute_length_inline : Odoc_document__Types.Inline.one list -> int