From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7B1717FB38 for ; Wed, 24 Dec 2014 10:07:15 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of jdimino@janestreet.com) identity=pra; client-ip=38.105.200.112; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="jdimino@janestreet.com"; x-sender="jdimino@janestreet.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.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=mail3-smtp-sop.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 (mail3-smtp-sop.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=mail3-smtp-sop.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: AvEAANiBmlQmachwnGdsb2JhbABbg1hYBIMAtBSNXIFphXICgQkHFgEBAQEBEQEBAQEBBhYJQoQNAQEDARIRHQEBLAsBBAsLBAEGAxcdAgIiEgEFAQoSBhMIChCHdgMJCAMKqWQ+MYo+cIRiAQWLRgOFEwEBAQEBAQEDAQEBAQEBAQEBAQERBgqPI0EEB4JogUGEMgaNIYU0gT2ER4Njhh8SI4EVhBBvgkMBAQE X-IPAS-Result: AvEAANiBmlQmachwnGdsb2JhbABbg1hYBIMAtBSNXIFphXICgQkHFgEBAQEBEQEBAQEBBhYJQoQNAQEDARIRHQEBLAsBBAsLBAEGAxcdAgIiEgEFAQoSBhMIChCHdgMJCAMKqWQ+MYo+cIRiAQWLRgOFEwEBAQEBAQEDAQEBAQEBAQEBAQERBgqPI0EEB4JogUGEMgaNIYU0gT2ER4Njhh8SI4EVhBBvgkMBAQE X-IronPort-AV: E=Sophos;i="5.07,637,1413237600"; d="scan'208";a="94636416" Received: from mxout1.mail.janestreet.com ([38.105.200.112]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Dec 2014 10:07:13 +0100 Received: from [172.27.56.106] (helo=tot-qpr-mailcore2) by mxout1.mail.janestreet.com with smtp (Exim 4.82) (envelope-from ) id 1Y3huQ-0000YY-6P for caml-list@inria.fr; Wed, 24 Dec 2014 04:07:10 -0500 X-JS-Flow: external Received: by tot-qpr-mailcore2 with JS-mailcore (0.1) (envelope-from ) id BUmoI--AAAA32-Fx; 2014-12-24 04:07:10.185760-05:00 Received: from mail-wg0-f43.google.com ([74.125.82.43]) by mxgoog1.mail.janestreet.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.72) (envelope-from ) id 1Y3huP-0005jl-TE for caml-list@inria.fr; Wed, 24 Dec 2014 04:07:10 -0500 Received: by mail-wg0-f43.google.com with SMTP id l18so10993632wgh.2 for ; Wed, 24 Dec 2014 01:07:09 -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=KxMHnyYrXoxcEBEWA+WTEWphzghoofjpdb/3m+Gadqk=; b=yvfE/hhejNP4Cx/IdlEWz9I9DL8qWMV5Ts/5Xmfiy+T8OGmkUcHUk0Trd6W4+WDKEX Y6vYpmDncd8zlRbDqxgiq3EU9MdQSOSoWcjXWnxm5iSaMRKDPQ87PpON48UQ9jWCu9FY tfNJThJ2JutY4Uuw1j7Aal8zZeX7lVecwJmUk= 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=KxMHnyYrXoxcEBEWA+WTEWphzghoofjpdb/3m+Gadqk=; b=Vf+sVMSv5yeHnKBGoTtPqt2HTYeeEIGH4jKoIPmvaKr+v9zSVpkNtBqTiVvuEzYUAA xYKpQtkvSJhwdqfUDHw7zFcdPeliGPEOh3E1FUK80vMljPeVwqYaKHUvNR6bIPjpYf3V AuWGQDohodwfoeNC8TxgfpYi7mqxaid5MI9ZLoVWa9e88ONXvuo+wStk5mpQBeEY3g54 /u6GhiG7qcmr51YuEASlM99lkOFv92v3lkntk0SQN5hiyxyGzye0s8s8LuoGCw9xfXLM xvU24HLsOSgirMlEkISV7JNvHZ+Cqw+SAMq3hdzldpaPWr4bceRmgs6O+JDQvCLXN956 HWWQ== X-Gm-Message-State: ALoCoQmAFVRUdkwHvCwpU+TrfgFOEVeWQsZ6UWzRHl6YhzoIW9NJyMARqRBCR1JER65+xeJxXxBnv/fBgkq/k26pYMBbOpNs9WYQY1yPSRxSBGZ7KTOaRXaojgEeZvIw/uBSXNbCaghT X-Received: by 10.194.184.140 with SMTP id eu12mr44953063wjc.25.1419412029170; Wed, 24 Dec 2014 01:07:09 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.184.140 with SMTP id eu12mr44953043wjc.25.1419412029053; Wed, 24 Dec 2014 01:07:09 -0800 (PST) Received: by 10.27.84.212 with HTTP; Wed, 24 Dec 2014 01:07:08 -0800 (PST) In-Reply-To: References: Date: Wed, 24 Dec 2014 09:07:08 +0000 Message-ID: From:Jeremie Dimino To:Jiten Pathy Cc:"caml-list@inria.fr" Content-Type: multipart/alternative; boundary=047d7bacc2c0c8434e050af29d43 X-JS-Processed-by: mailcore Subject: Re: [Caml-list] Core_Int32 conversion --047d7bacc2c0c8434e050af29d43 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 --047d7bacc2c0c8434e050af29d43 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
--047d7bacc2c0c8434e050af29d43--