Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF93DE760 for ; Tue, 29 Jan 2013 22:58:23 +0000 (UTC) Received: (qmail 70949 invoked by uid 500); 29 Jan 2013 22:58:23 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 70732 invoked by uid 500); 29 Jan 2013 22:58:23 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 70720 invoked by uid 99); 29 Jan 2013 22:58:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 22:58:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gudnabrsam@gmail.com designates 209.85.215.181 as permitted sender) Received: from [209.85.215.181] (HELO mail-ea0-f181.google.com) (209.85.215.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 22:58:17 +0000 Received: by mail-ea0-f181.google.com with SMTP id i13so431738eaa.40 for ; Tue, 29 Jan 2013 14:57:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ZccpCjZkcB/Ll4MZLZO1FCpcNptIeHxoqLbUN3koqIM=; b=reRFuzzvZM4+45SxwTD3XuJodqMJnYoGBUK/YNsar2cgAr8QQAA55k5iKSJWGJX8bV qhUXnF/8SxOTZUFl61cPkScdTDMtddynrgjPLnLKMW5ne+j3msRHiTMlOoqoZg53yfok trCvvF98IExv74mHJ05/bE5dr5FE1B5Ew2g22yDjtNjDR6Qi15rtMMbyk67aLbfYzrS0 giZLCQM2zThB6O0v01S4WZiBrcdWD3l6KpD5V3Zpbl8RgqIEqyQKOvzLsJLRQ+L4XMk2 f55HwAgJpYr2506MBN6OlOskNL9ZBK1bUK7luKM3AbjZLGjd6JOnMJC/N4HQSnExZ6no KAqA== MIME-Version: 1.0 X-Received: by 10.14.175.70 with SMTP id y46mr7991283eel.6.1359500276923; Tue, 29 Jan 2013 14:57:56 -0800 (PST) Received: by 10.223.130.199 with HTTP; Tue, 29 Jan 2013 14:57:56 -0800 (PST) Reply-To: gudnabrsam@gmail.com In-Reply-To: <1359500137.53612.YahooMailNeo@web140703.mail.bf1.yahoo.com> References: <1359500137.53612.YahooMailNeo@web140703.mail.bf1.yahoo.com> Date: Tue, 29 Jan 2013 16:57:56 -0600 Message-ID: Subject: Re: [functor] Change default arity of Function, Predicate and Procedure From: Matt Benson To: Commons Developers List , "Bruno P. Kinoshita" Content-Type: multipart/alternative; boundary=047d7b5dbe2013fe5b04d47553e2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5dbe2013fe5b04d47553e2 Content-Type: text/plain; charset=ISO-8859-1 What about in pure functional languages e.g. Haskell? Matt On Tue, Jan 29, 2013 at 4:55 PM, Bruno P. Kinoshita < brunodepaulak@yahoo.com.br> wrote: > Hi all, > > In Java 8 and Guava the default arity of a Function is 1, but in [functor] > it is 0, IOW, in Java 8 and Guava a Function is by default a UnaryFunction, > while in [functor] it is a NullaryFunction. > > What do you guys think of changing the default arity of Function, > Procedure and Predicate in [functor] to 1, rather than 0? > > Cheers > > Bruno P. Kinoshita > http://kinoshita.eti.br > http://tupilabs.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --047d7b5dbe2013fe5b04d47553e2--