diff --git a/.ocamlformat b/.ocamlformat index 7b7ef86..76469ea 100644 --- a/.ocamlformat +++ b/.ocamlformat @@ -9,4 +9,5 @@ let-binding-spacing=double-semicolon margin=90 parens-ite=true type-decl=sparse -wrap-fun-args=false \ No newline at end of file +wrap-fun-args=false +doc-comments=before \ No newline at end of file diff --git a/lib/pinc_backend/Interpreter.mli b/lib/pinc_backend/Interpreter.mli index 476ba6e..dab14ef 100644 --- a/lib/pinc_backend/Interpreter.mli +++ b/lib/pinc_backend/Interpreter.mli @@ -13,10 +13,10 @@ val eval_meta : ] StringMap.t +(** [eval ~tag_data_provider ~root sources] evaluates definition {!root} found in {!sources}, getting its data from the {!tag_data_provider}. + @raise Invalid_argument if the given root can't be evaluated (store, library). *) val eval : tag_data_provider:Types.Type_Tag.data_provider -> root:string -> Pinc_Source.t list -> string -(** [eval ~tag_data_provider ~root sources] evaluates definition {!root} found in {!sources}, getting its data from the {!tag_data_provider}. - @raise Invalid_argument if the given root can't be evaluated (store, library). *)