Re: [Caml-list] getting the name of a function from its body

From : Fabrice Le Fessant <Fabrice.Le_fessant AT inria.fr>

: Fabrice Le Fessant <Fabrice.Le_fessant AT inria.fr> To : Gustave Nimant <gustave.nimant AT free.fr>

: Gustave Nimant <gustave.nimant AT free.fr> Cc : Ocaml Mailing List <caml-list AT inria.fr>

: Ocaml Mailing List <caml-list AT inria.fr> Subject : Re: [Caml-list] getting the name of a function from its body

: Re: [Caml-list] getting the name of a function from its body Date: Mon, 1 Jun 2015 13:46:06 +0200

Recent versions of OCaml provide "__LOC__", "__FILE__", "__LINE__","__MODULE__" and "__POS__" primitives that can be used to displayprecise error messages.--FabriceOn Mon, Jun 1, 2015 at 1:42 PM, Gustave Nimant wrote:--Fabrice LE FESSANTChercheur en InformatiqueINRIA Paris Rocquencourt -- OCamlProProgramming Languages and Distributed Systems