220 10883 <1534916.IcxgtEDE2B@drako> article
Path: news.gmane.org!not-for-mail
From: Ivan =?utf-8?B?xIx1a2nEhw==?= <ivan.cukic@gmx.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: N4015: A proposal to add a utility class to
 represent expected monad
Date: Sun, 25 May 2014 23:34:41 +0200
Organization: KDE
Lines: 41
Approved: news@gmane.org
Message-ID: <1534916.IcxgtEDE2B@drako>
References: <94ded66f-1c50-47b9-8a04-b83805443da9@isocpp.org> <0e4dbb0e-0a7e-4164-be4e-60e114b18548@isocpp.org> <5381BCA6.3060803@wanadoo.fr>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1401204300 31559 80.91.229.3 (27 May 2014 15:25:00 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 27 May 2014 15:25:00 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDGLFIH4QMCRBPW4SKOAKGQE7ZNMD3A@isocpp.org Tue May 27 17:24:54 2014
Return-path: <std-proposals+bncBDGLFIH4QMCRBPW4SKOAKGQE7ZNMD3A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f200.google.com ([209.85.223.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDGLFIH4QMCRBPW4SKOAKGQE7ZNMD3A@isocpp.org>)
	id 1WpJFA-0004IK-Ia
	for gclcip-std-proposals@m.gmane.org; Tue, 27 May 2014 17:24:48 +0200
Original-Received: by mail-ie0-f200.google.com with SMTP id y20sf49790148ier.7
        for <gclcip-std-proposals@m.gmane.org>; Tue, 27 May 2014 08:24:47 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:organization
         :user-agent:in-reply-to:references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=IJCeRR7Iyc1kV2F8Z6V0KyxYK7ayoTabCo5lSpOnsCg=;
        b=JRQq5k9PNYuJRaan7JxUQCZElutkUhFXid0zGIHqm6SF1s9EbkXp1FUhBOYJWlY5zy
         lo3sBTQrPqjDleASr+SHPJnzGRG/lsCQifx6tPQUNVZHZ4Y+9321zMLA/xb3wdWVWig2
         xnTWLSdymmFrs9/btwbqB7jxi+vsCcN9zLU9UdYjlAIesZ9znfbHxPMcQ1CXdp6rzye9
         ap9Dy8znk76Ih0vWLFn0omejA+aoCeAGd0DWBqBAcjdGAY6Y7u8OOPrPGcGhYtTeIosN
         /1YwSzSBLbRgjWgwMxG1LyUN4bhdEYaPdTQCiwGnA5R72C8v4NuHMXMWVt7dqc8XdQWx
         6oBw==
X-Gm-Message-State: ALoCoQkk8dv1exNEwJvyyDYY40rO5qTMZnNDwgtn5lBaOh9sLkV4r+NG/L5sFPClXX9X7YEZcpOl
X-Received: by 10.43.156.13 with SMTP id lk13mr4299763icc.29.1401204287509;
        Tue, 27 May 2014 08:24:47 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.108.4 with SMTP id i4ls2993530qgf.78.gmail; Tue, 27 May
 2014 08:24:46 -0700 (PDT)
X-Received: by 10.58.41.39 with SMTP id c7mr13292812vel.25.1401204286755;
        Tue, 27 May 2014 08:24:46 -0700 (PDT)
Original-Received: by 10.224.189.8 with SMTP id dc8msqab;
        Sun, 25 May 2014 14:34:44 -0700 (PDT)
X-Received: by 10.229.192.7 with SMTP id do7mr26999677qcb.1.1401053684376;
        Sun, 25 May 2014 14:34:44 -0700 (PDT)
Original-Received: from mout.gmx.com (mout.gmx.com. [74.208.4.200])
        by mx.google.com with ESMTPS id r72si11064160qgr.10.2014.05.25.14.34.44
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 25 May 2014 14:34:44 -0700 (PDT)
Received-SPF: pass (google.com: domain of ivan.cukic@gmx.com designates 74.208.4.200 as permitted sender) client-ip=74.208.4.200;
Original-Received: from drako.localnet ([178.148.120.90]) by mail.gmx.com (mrgmxus002)
 with ESMTPSA (Nemesis) id 0Lpbua-1WKadZ1Vjy-00fQVg for
 <std-proposals@isocpp.org>; Sun, 25 May 2014 23:34:43 +0200
User-Agent: KMail/4.14 pre (Linux/3.14-1-amd64; KDE/4.13.60; x86_64; git-4164bbe; 2014-05-22)
In-Reply-To: <5381BCA6.3060803@wanadoo.fr>
X-Provags-ID: V03:K0:BFRk4KmZoeQ3PscIZkyyrOIHn+n6RtHUciA3xi7AdpJr0yey7OG
 bPDq/1pnKSa4Z7JeeoAfZbtuMP9m/eeOA1WPWk5DemGR5mfXV6rJczAbXLLmYtEsvWjXZzm
 vA/BDk7mIJPM5ixqdcoJR/hiNYuSGXBSBtwBllMfNu/eLPoMAVrjhYwa0v4BkXiZuu4lfWE
 pfU8+NDFUAbDumG/x0+9g==
X-Original-Sender: ivan.cukic@gmx.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ivan.cukic@gmx.com designates 74.208.4.200 as permitted sender) smtp.mail=ivan.cukic@gmx.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:10883
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10883>


> > There is a dead thread that Vicente Escriba started some time ago:
> > https://groups.google.com/a/isocpp.org/d/msg/std-proposals/KCqwEq49GMA/a5f
> > 117Z5yZkJ
> Yes this Vicente is me.

I noticed only after sending the email :)

> - Would this mean that we have to add the map/bins/cacth_error/unit as
> member functions and that the default forwards to members functions?

Yes. Definitely not pretty, but since it already is the practice.

> - non-member functions don't chain as well as member functions.

Well, I agree, being accustomed to dot-notation. But, I guess a lot of 
functional developers would beg to differ.

> - we will need infix operators

Lets hope the proposal for D's UFCS (can't recall the proposal id number) will 
get a green light.

Otherwise, we'll probably need something like boost.range adaptors.


Cheerio,
Ivan

-- 
KDE, ivan.cukic at kde.org, http://ivan.fomentgroup.org/ 
gpg key id: 850B6F76

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
