We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a63c65 commit e300c9fCopy full SHA for e300c9f
src/document/utils.mli
@@ -0,0 +1,6 @@
1
+val option_of_result : ('a, 'b) Result.result -> 'a option
2
+val flatmap : ?sep:'a list -> f:('b -> 'a list) -> 'b list -> 'a list
3
+val skip_until : p:('a -> bool) -> 'a list -> 'a list
4
+val split_at : f:('a -> bool) -> 'a list -> 'a list * 'a list
5
+val compute_length_source : Types.Source.t -> int
6
+val compute_length_inline : Types.Inline.t -> int
test/xref2/lib/common.cppo.ml
@@ -602,7 +602,7 @@ module LangUtils = struct
602
603
end
604
605
-let my_compilation_unit id s =
+let my_compilation_unit id (s : Odoc_model.Lang.Signature.t) =
606
{ Odoc_model.Lang.Compilation_unit.
607
id = id
608
; root = root
0 commit comments