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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 478337F30A for ; Fri, 1 Mar 2013 16:42:13 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvYBAO7LMFFKN1ZKkGdsb2JhbAAqGoZPu2d9Fg4BAQEBCQkUFCeCIAEFI1YQCw0NAiYCAkcQBhuICwQILq49ki2BI40+MweCLTJhA5dhhEUTI4NKgXOIHg X-IPAS-Result: AvYBAO7LMFFKN1ZKkGdsb2JhbAAqGoZPu2d9Fg4BAQEBCQkUFCeCIAEFI1YQCw0NAiYCAkcQBhuICwQILq49ki2BI40+MweCLTJhA5dhhEUTI4NKgXOIHg X-IronPort-AV: E=Sophos;i="4.84,761,1355094000"; d="scan'208";a="3908162" Received: from unknown (HELO smtp.webfaction.com) ([74.55.86.74]) by mail3-smtp-sop.national.inria.fr with ESMTP; 01 Mar 2013 16:42:04 +0100 Received: from [172.20.10.2] (123-232.197-178.cust.bluewin.ch [178.197.232.123]) by smtp.webfaction.com (Postfix) with ESMTP id F16F320A603A; Fri, 1 Mar 2013 15:41:54 +0000 (UTC) Date: Fri, 1 Mar 2013 16:41:51 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Anil Madhavapeddy Cc: ocaml-core@googlegroups.com, Alain Frisch , Jeremie Dimino , caml-list@inria.fr Message-ID: <66F3A9513D1E49B8AB50EC9005C7C6BD@erratique.ch> In-Reply-To: References: <51306A92.1080903@frisch.fr> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] [ANN] Core Suite 109.11.00 released + ocaml_plugin Le vendredi, 1 mars 2013 =C3=A0 16:15, Anil Madhavapeddy a =C3=A9crit : > Objects aren't a problem in js_of_ocaml, but the general principle > of staying away from them in a core library seems to what everyone > wants anyway. I agree but there's one exception, the thread-safe generation of program ui= d. I used this more than once to implement the keys of heterogenous diction= aries (=C3=A0 la http://mlton.org/PropertyList). And it's also used in cmdl= iner here [1]. I would really like to have that in Sys to avoid linking against Oo. There'= s a way to do it yourself but it does rely on implementation details of the= runtime system, see discussion here [2]. As such for now I prefered to use= the Oo.id trick.=20=20 Best, Daniel [1] https://github.com/dbuenzli/cmdliner/blob/master/src/cmdliner.ml#L156 [2] http://caml.inria.fr/mantis/view.php?id=3D5436#c6549