From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p586kKNG013733 for ; Wed, 8 Jun 2011 08:46:22 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuQCAEca703RVdg2kGdsb2JhbAA9AQMSpiIIFAEBAQEJCQ0HFAQhq2aMJ4JAhFI5iGMBAQMGhh0EkRuJBYJKPINC X-IronPort-AV: E=Sophos;i="4.65,337,1304287200"; d="scan'208";a="96338421" Received: from mail-qw0-f54.google.com ([209.85.216.54]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 08 Jun 2011 08:46:19 +0200 Received: by qwc9 with SMTP id 9so146560qwc.27 for ; Tue, 07 Jun 2011 23:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=EkAU+umyEgfVncggwvBpbvXKUJbL7hT29gwOorgsCHM=; b=dZ23lgI54Dpuko/GQ7HVBR8ztKAQJnHLGNd7zZCSz2EIk0T1NHSj367vMpQec+F7Pg 5adIFoZM0UC2BM3fzFEJ95Y0mWvIP8zErXilam/9yQGAxhGkREKYGdwa2OVf7tuoF/TU y9wFadKzxA6c8kz8EDR7mxqClmeXdckRYBK3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sLAIpkiZ5koONNv40jlMQT+1fRiPk64KJAUar0v8B0AW1RK9qRVBW8ri3egnrcfptl WCOrXzGSEhJlXNNvGWGlpTdQvR6R0UzJenG+2A4WrnETC2qiqRtCdRZ00IlmbIcvKJSM n0OtAuJ0n3bLbILgyJETJOL7s71D8Sgo5+iLM= MIME-Version: 1.0 Received: by 10.229.18.134 with SMTP id w6mr5599224qca.114.1307515577304; Tue, 07 Jun 2011 23:46:17 -0700 (PDT) Received: by 10.229.13.13 with HTTP; Tue, 7 Jun 2011 23:46:17 -0700 (PDT) In-Reply-To: <4DED026D.4050002@ocamlpro.com> References: <4DED026D.4050002@ocamlpro.com> Date: Wed, 8 Jun 2011 08:46:17 +0200 Message-ID: From: Pierre Bourdon To: Fabrice LE FESSANT Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p586kKNG013733 Subject: Re: [Caml-list] OCaml cheat sheets On Mon, Jun 6, 2011 at 18:38, Fabrice LE FESSANT wrote: > Hi, > >  We have published some "cheat sheets" on OCaml on OCamlPro's website: > > http://www.ocamlpro.com/code/2011-06-03-cheatsheets.html > >  These cheat sheets are supposed to help developers to learn and to use > OCaml by providing a condensed view of its documentation. Feel free to > use them, distribute them to your students, and to tell us how we could > improve them, what you think is important and should be added, etc. Great job, thanks! However, on the OCaml language cheatsheet, I think you inverted -1 and 1 in the "compare" function table: # compare 1 2;; - : int = -1 While it is written that x < y => compare x y == 1 -- Pierre "delroth" Bourdon Student at EPITA (Paris, France) http://code.delroth.net/