From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 8531EBC57 for ; Fri, 5 Nov 2010 17:52:53 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuwBAA/T00zRVdi2kGdsb2JhbACZWwGICAgVAQEBAQkJDAcRAx+iAotzhTCJBwEBAwWFQwSEWIV+iSM X-IronPort-AV: E=Sophos;i="4.58,304,1286143200"; d="scan'208";a="65118956" Received: from mail-qy0-f182.google.com ([209.85.216.182]) by mail3-smtp-sop.national.inria.fr with ESMTP; 05 Nov 2010 17:52:52 +0100 Received: by qyk7 with SMTP id 7so2537091qyk.6 for ; Fri, 05 Nov 2010 09:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=msSAEsisu9CZy5EfYwVI37By/+CMPlnQfBbuR5GCn6Y=; b=qqoQN3Ysgf10yAX3qy/0V3Hj9+NYVJ/8YdOKfmRRHeLuLgaUNxSA9DvDdZJ1MzpxzD ELBg7/2/enXcFhFyjajox4tit4IX2rKwFSkKim3Qzb3D+Eg5riYC9Ko+WDbAeohdUPgo ooIe8epdMVYK9Z4SNhCADssQH1y+52xdGild4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=XbIdxIqj3lnq835+mwO+5yAMfU7E7mcI8p+zkqGn/UQNP5/mIh0WGz+CTnYsT362PN QrtNg2dSu1C5jbJDxM3mHNU93BoFW+3oVe4rBB9mlnwNOrQ/6p1lrrDrqK+BbU1RR2nk Vzr0hRrcgpKsw7+pBHv7PBL9ZZyevAEOmTvXw= Received: by 10.229.81.12 with SMTP id v12mr2221766qck.12.1288975972355; Fri, 05 Nov 2010 09:52:52 -0700 (PDT) MIME-Version: 1.0 Sender: jake.donham@gmail.com Received: by 10.229.66.88 with HTTP; Fri, 5 Nov 2010 09:52:32 -0700 (PDT) In-Reply-To: <4CD32508.6080102@philou.ch> References: <4CD32508.6080102@philou.ch> From: Jake Donham Date: Fri, 5 Nov 2010 09:52:32 -0700 X-Google-Sender-Auth: YGemusu1YP3J4Q60TTHkaG0qajc Message-ID: Subject: Re: [Caml-list] rpc: type conversion To: OCaml List Content-Type: multipart/alternative; boundary=00163646bf50f4ce2f0494511a34 X-Spam: no; 0.00; ocaml:01 stubs:01 ocaml:01 stubs:01 wrote:01 wrote:01 signatures:01 signatures:01 caml-list:01 thu:05 thu:05 interface:06 interface:06 generates:07 generates:07 --00163646bf50f4ce2f0494511a34 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Nov 4, 2010 at 2:26 PM, Philippe Strauss wrote: > I need to use RPC in a current project of mine, but I don't get how do you > write the type conversion and what is provided, taking a very basic example: > If you are using OCaml on both ends, you might prefer to use orpc: http://jaked.github.com/orpc/ which generates stubs from OCaml signatures rather than ONC RPC interface files. Jake --00163646bf50f4ce2f0494511a34 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Nov 4, 2010 at 2:26 PM, Philippe Strauss <philou@philou.ch> wrote:
<= div class=3D"gmail_quote">
I need to use RPC in a current project of mine, but I don't get how do = you write the type conversion and what is provided, taking a very basic exa= mple:

If you are using OCaml on both en= ds, you might prefer to use orpc:


which generates stubs f= rom OCaml signatures rather than ONC RPC interface files.

Jake

--00163646bf50f4ce2f0494511a34--