From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 3D04D7EE0C for ; Wed, 28 Nov 2012 18:41:58 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of virgile.prevosto@gmail.com) identity=pra; client-ip=209.85.219.54; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="virgile.prevosto@gmail.com"; x-sender="virgile.prevosto@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of virgile.prevosto@gmail.com designates 209.85.219.54 as permitted sender) identity=mailfrom; client-ip=209.85.219.54; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="virgile.prevosto@gmail.com"; x-sender="virgile.prevosto@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oa0-f54.google.com) identity=helo; client-ip=209.85.219.54; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="virgile.prevosto@gmail.com"; x-sender="postmaster@mail-oa0-f54.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AisBAOtLtlDRVds2mGdsb2JhbABFhWMBuioIFg4BAQEBAQgJDQcUJ4IfAQUnGQE5AwwBBQULOyEBEgEFARwGEwiHdQMPoDuPLYUlJw2JTgEFDItKhSoDlCyBVYlKgWqDMBYpgVeCOw X-IronPort-AV: E=Sophos;i="4.84,179,1355094000"; d="scan'208";a="183676471" Received: from mail-oa0-f54.google.com ([209.85.219.54]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 28 Nov 2012 18:41:57 +0100 Received: by mail-oa0-f54.google.com with SMTP id n9so23958506oag.27 for ; Wed, 28 Nov 2012 09:41:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=mRnACzz1rVMEYVaefi29GqXRpA4jtZNh//QJ2HcUq4U=; b=tulsRXAr1xLEZWSe9o1sc4Vj9752YPmMXUY7yqru81ziwYr76e2MuPjuHKmtVQpYJ/ tI0wYZVZk1cXOwZaMvcgf/7kcZqkF/GhawDy3mDtscMV8EuCF9E6zKd6sbpjB8IG2OVO LOOlPJMJ247xvqLbNBflKcvz+sHW75KEXRr/TlNMd0Sup7PHbLLC9AcnoKuesgMNJt1Q skC0Ltp9tabrXDeBqDnLVfuQd819UjPLh9UoKH1yACwWAq38Z0FoRJFmIjrHgMR6ddSl v9qnuVlTo2n6TQ3QMiNqSPGrON5NosTeXBP+KhQA3Lh0+B/OzLajOdBNLlxdF1SeO9zU JtUw== MIME-Version: 1.0 Received: by 10.182.3.197 with SMTP id e5mr4622797obe.92.1354124516666; Wed, 28 Nov 2012 09:41:56 -0800 (PST) Sender: virgile.prevosto@gmail.com Received: by 10.76.131.199 with HTTP; Wed, 28 Nov 2012 09:41:56 -0800 (PST) In-Reply-To: References: <50B595A4.50402@wwayneb.com> <912CF782-0FD9-45D6-A6A5-2F9F50702567@first.in-berlin.de> Date: Wed, 28 Nov 2012 18:41:56 +0100 X-Google-Sender-Auth: M8HfxMUjIhycM3uL8brPGVJKEW0 Message-ID: From: Virgile Prevosto To: OCAML Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] List.fold_left vs. Hashtbl.fold 2012/11/28 Adrien : > Well, MoreLabels.Hashtbl has > val fold : f:(key:'a -> data:'b -> 'c -> 'c) -> ('a, 'b) t -> init:'c -> 'c > Fair enough, but there's no label (say acc) to the last argument of f (nor for the table itself), so you can't really permute the current element and the accumulator in the argument list. -- E tutto per oggi, a la prossima volta Virgile