From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 3F6047EE7D for ; Mon, 1 Jun 2015 13:42:11 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of gustave.nimant@free.fr) identity=pra; client-ip=212.27.42.6; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gustave.nimant@free.fr"; x-sender="gustave.nimant@free.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of gustave.nimant@free.fr) identity=mailfrom; client-ip=212.27.42.6; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gustave.nimant@free.fr"; x-sender="gustave.nimant@free.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp6-g21.free.fr) identity=helo; client-ip=212.27.42.6; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gustave.nimant@free.fr"; x-sender="postmaster@smtp6-g21.free.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DvAgD5Q2xVnAYqG9Rch2DDCoE4PBABAQEBAQEBEQEBAQEBBg0JCSEuQQSEBxVANgIFFgsCCwMCAQIBPxkIAogTARmiaI9fnWMJhXCBIY9FglKBRQWLVY48hAuHeI86gXaCJ4M0AQEB X-IPAS-Result: A0DvAgD5Q2xVnAYqG9Rch2DDCoE4PBABAQEBAQEBEQEBAQEBBg0JCSEuQQSEBxVANgIFFgsCCwMCAQIBPxkIAogTARmiaI9fnWMJhXCBIY9FglKBRQWLVY48hAuHeI86gXaCJ4M0AQEB X-IronPort-AV: E=Sophos;i="5.13,532,1427752800"; d="scan'208";a="161223421" Received: from smtp6-g21.free.fr ([212.27.42.6]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 01 Jun 2015 13:42:10 +0200 Received: from [192.168.0.11] (unknown [82.226.95.82]) by smtp6-g21.free.fr (Postfix) with ESMTP id 53BE582323 for ; Mon, 1 Jun 2015 13:38:27 +0200 (CEST) Message-ID: <556C4512.2050002@free.fr> Date: Mon, 01 Jun 2015 13:42:10 +0200 From: Gustave Nimant User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: caml-list@inria.fr Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Caml-list] getting the name of a function from its body Hello, is there any way in OCaml to get the name of a function from its body, in order to write precise error messages for instance ? Regards Gustave