From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 5ABCD7FB38 for ; Wed, 24 Dec 2014 10:07:13 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of jdimino@janestreet.com) identity=pra; client-ip=38.105.200.112; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="jdimino@janestreet.com"; x-sender="jdimino@janestreet.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of jdimino@janestreet.com designates 38.105.200.112 as permitted sender) identity=mailfrom; client-ip=38.105.200.112; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="jdimino@janestreet.com"; x-sender="jdimino@janestreet.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mxout1.mail.janestreet.com) identity=helo; client-ip=38.105.200.112; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="jdimino@janestreet.com"; x-sender="postmaster@mxout1.mail.janestreet.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvEAAFSBmlQmachwnGdsb2JhbABbg1hYBIMAtBSNXIFfAQmFcgKBCQcWAQEBAQERAQEBAQEGFglChA0BAQMBEhEdAQEsCwEECwsEAQYDFx0CAiISAQUBChIGEwgKEId2AwkIAwqpZj4xij5whGIBBYtIA4UTAQEBAQEBAQMBAQEBAQEBAQEBAREGCo8jQQQHgi0MLxGBMIQyBo0hhTSBPYRHg2OGHxIjgRWEEG+CQwEBAQ X-IPAS-Result: AvEAAFSBmlQmachwnGdsb2JhbABbg1hYBIMAtBSNXIFfAQmFcgKBCQcWAQEBAQERAQEBAQEGFglChA0BAQMBEhEdAQEsCwEECwsEAQYDFx0CAiISAQUBChIGEwgKEId2AwkIAwqpZj4xij5whGIBBYtIA4UTAQEBAQEBAQMBAQEBAQEBAQEBAREGCo8jQQQHgi0MLxGBMIQyBo0hhTSBPYRHg2OGHxIjgRWEEG+CQwEBAQ X-IronPort-AV: E=Sophos;i="5.07,637,1413237600"; d="scan'208";a="114740262" Received: from mxout1.mail.janestreet.com ([38.105.200.112]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Dec 2014 10:07:12 +0100 Received: from [172.27.56.106] (helo=tot-qpr-mailcore2) by mxout1.mail.janestreet.com with smtp (Exim 4.82) (envelope-from ) id 1Y3huR-0000Yn-9z for caml-list@inria.fr; Wed, 24 Dec 2014 04:07:11 -0500 X-JS-Flow: external Received: by tot-qpr-mailcore2 with JS-mailcore (0.1) (envelope-from ) id BUmoI_-AAAA32-JR; 2014-12-24 04:07:11.297654-05:00 Received: from mail-ie0-f172.google.com ([209.85.223.172]) by mxgoog1.mail.janestreet.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.72) (envelope-from ) id 1Y3huR-0005jz-3d for caml-list@inria.fr; Wed, 24 Dec 2014 04:07:11 -0500 Received: by mail-ie0-f172.google.com with SMTP id tr6so7338283ieb.31 for ; Wed, 24 Dec 2014 01:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=k21NAIo9SWOf7yHTHPUXohWuTPTcLdChaAFL2qLGUi8=; b=cKO2fJaKZaOXIcqS+SVL2wRxj3nOLHyIPnqrjD1mwObFzHlphi0YdjJtBpGAQ0d2Sm cs3C+4jTSlmE7UxWGO0O0jG5E956ciB7Idd5GyD9JOfPw7UjdEtnZeR3yFT/xMePlg2s lJ3AZDSlfzmfZ3+JVqnJvdnaOb8o0L316JiDs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=k21NAIo9SWOf7yHTHPUXohWuTPTcLdChaAFL2qLGUi8=; b=Usx/TJj/TUuyg3PMGuvfJoOd1DGBWiQFoTAZ3t/grkLgQSw4XM2DsQ2xUkogipj9He fFM2psPgy4p/I1jCOjii0AZGfMCqUQXVEM5xSZEAiIQvJlchiEltd8ut98npEX7nNxGT al9s/HA3jnUYeniU8CydZq++CC3TkLOVEg0GEpvtrnRNUslf0vFMHzoPiPkl14ijK3cU IRbgg4HWl9AqG/jNEGeRvdJtl06axSxDDytuC+zLJMX15+n4tOga4LLZwGGV2fYB5/uw I60NxW0WG6AKkD/nPNmKevsz4YqSex2R2A0KKXXgAA9+p7bLTwOBnzHjd1UjTTVPvOMu 2p9g== X-Gm-Message-State: ALoCoQkgKCHGp0+bA+xykPogZdPHSlBpo1bBcgLpkPaGgf+GnhYsF1mR2q/E4AxFSv5kNwwkzDmnEApA5f9HmJ03LpKEB4cpwjbXsVMHX+iGac8iIjetrL4UCL6WDi6vTlcyVbYXRxKS X-Received: by 10.42.22.144 with SMTP id o16mr25992095icb.0.1419412030710; Wed, 24 Dec 2014 01:07:10 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.42.22.144 with SMTP id o16mr25992069icb.0.1419412030127; Wed, 24 Dec 2014 01:07:10 -0800 (PST) Received: by 10.50.252.49 with HTTP; Wed, 24 Dec 2014 01:07:09 -0800 (PST) In-Reply-To: References: Date: Wed, 24 Dec 2014 09:07:09 +0000 Message-ID: From:Jeremie Dimino To:Jiten Pathy Cc:"caml-list@inria.fr" Content-Type: multipart/alternative; boundary=20cf301d3e38d8a3b5050af29d1a X-JS-Processed-by: mailcore Subject: Re: [Caml-list] Core_Int32 conversion --20cf301d3e38d8a3b5050af29d1a Content-Type: text/plain; charset=UTF-8 Hi Jiten, Can you open a ticket on github for this request? https://github.com/janestreet/core_kernel On Tue, Dec 23, 2014 at 8:33 PM, Jiten Pathy wrote: > The Int32.of_int variants in Core_kernel does range checking. Can the > versions of of_int from stdlib be also provided as unsafe_of_int, so > we can use it without having to do a local open? > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Jeremie --20cf301d3e38d8a3b5050af29d1a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Jiten,

Can you open a ticket on gith= ub for this request?


On Tue, Dec 23, 2014 at 8:33 PM, Jiten Pathy <jpathy@f= ssrv.net> wrote:
The Int32.of_int varia= nts in Core_kernel does range checking. Can the
versions of of_int from stdlib be also provided as unsafe_of_int, so
we can use it without having to do a local open?

--
Caml-list mailing list.=C2=A0 Subscription management and archives:
ht= tps://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--=C2=A0
Jeremie
--20cf301d3e38d8a3b5050af29d1a--