From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pBRKNoJF010544 for ; Tue, 27 Dec 2011 21:23:50 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0BADYo+k5KfVK2imdsb2JhbABChQ+nMQgiAQEBCgkNBxIGIYFyAQEBBBICDx0BOAEDDAEFBRgJIQICDwIjAQUBHAYNAQcBAR6HWpg6CosdgzOENokwAgULim6BFgSOJoEXhUWFT4E1hnk9gU2CLg X-IronPort-AV: E=Sophos;i="4.71,417,1320620400"; d="vcf'?scan'208";a="137023771" Received: from mail-we0-f182.google.com ([74.125.82.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 27 Dec 2011 21:23:45 +0100 Received: by werb13 with SMTP id b13so10262057wer.27 for ; Tue, 27 Dec 2011 12:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; bh=r174javM7f/pcw6ePOT0uTuxLharQPWksYb8KnShlBQ=; b=JrvGrMQ1lCKOTzeNBdhGvMrBOIZn7jo7lvpy4QomSFi16CQ0E5koI2cc5hKDhFOUgM 16/lVcb92JzmL15PRCcXSM7PVUcH8M8D7qXW5kI2Se3D+aChxgDOxN6vkfrmG3C17npF xe1g/47PO0SN5ntE3BjtZGWXeHDfBjcmngM4Y= Received: by 10.216.137.195 with SMTP id y45mr22198895wei.45.1325017424786; Tue, 27 Dec 2011 12:23:44 -0800 (PST) Received: from [192.168.0.29] (lns-bzn-48f-81-56-241-169.adsl.proxad.net. [81.56.241.169]) by mx.google.com with ESMTPS id em4sm29257687wbb.20.2011.12.27.12.23.42 (version=SSLv3 cipher=OTHER); Tue, 27 Dec 2011 12:23:43 -0800 (PST) Sender: Fabrice Le Fessant Message-ID: <4EFA294C.70201@inria.fr> Date: Tue, 27 Dec 2011 21:23:40 +0100 From: Fabrice Le Fessant User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: Gabriel Scherer CC: =?ISO-8859-1?Q?=C7agdas_Bozman?= , caml-list@inria.fr References: <4EF4C1B4.30408@inria.fr> <20111223184023.GA13146@nautica> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/mixed; boundary="------------080408050405050706000406" X-Validation-by: fabrice.le_fessant@inria.fr Subject: Re: [Caml-list] try ocaml website This is a multi-part message in MIME format. --------------080408050405050706000406 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Gabriel, On 12/26/2011 09:09 AM, Gabriel Scherer wrote: > I played with the toplevel a bit, but was frustrated by the limitation > of one-liner input. > Even in an interactive toplevel it is nice, I think, to be able to > write multiline programs. I uploaded a new version a few minutes ago. Now, you can use "multiline true" to tell the toplevel that you will use ;; as an end of input instead of the newline (and "multiline false;;" to switch back). My patch is inspired from yours, but with minimal changes to the current code. It works for me, but I would be happy to get feed back from "multi-line users". --Fabrice --------------080408050405050706000406 Content-Type: text/x-vcard; charset=utf-8; name="fabrice_le_fessant.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fabrice_le_fessant.vcf" begin:vcard fn:Fabrice LE FESSANT n:LE FESSANT;Fabrice org:INRIA Saclay -- Ile-de-France;P2P & OCaml adr;quoted-printable:;;Parc Orsay Universit=C3=A9 ;Orsay CEDEX;;91893;France email;internet:fabrice.le_fessant@inria.fr title;quoted-printable:Charg=C3=A9 de Recherche tel;work:+33 1 74 85 42 14 tel;fax:+33 1 74 85 42 49 url:http://fabrice.lefessant.net/ version:2.1 end:vcard --------------080408050405050706000406--