Message from discussion
Promises, callbacks, Continuables and more
X-BeenThere: nodejs@googlegroups.com
Received: by 10.204.156.19 with SMTP id u19ls1371654bkw.2.p; Sun, 31 Jan 2010
10:48:29 -0800 (PST)
Received: by 10.204.144.130 with SMTP id z2mr129443bku.3.1264963709168;
Sun, 31 Jan 2010 10:48:29 -0800 (PST)
Received: by 10.204.144.130 with SMTP id z2mr129442bku.3.1264963709150;
Sun, 31 Jan 2010 10:48:29 -0800 (PST)
Return-Path: <jo...@pfenniger.name>
Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227])
by gmr-mx.google.com with ESMTP id 11si441940bwz.3.2010.01.31.10.48.29;
Sun, 31 Jan 2010 10:48:29 -0800 (PST)
Received-SPF: neutral (google.com: 209.85.218.227 is neither permitted nor denied by best guess record for domain of jo...@pfenniger.name) client-ip=209.85.218.227;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.218.227 is neither permitted nor denied by best guess record for domain of jo...@pfenniger.name) smtp.mail=jo...@pfenniger.name
Received: by mail-bw0-f227.google.com with SMTP id 27so2535547bwz.21
for <nodejs@googlegroups.com>; Sun, 31 Jan 2010 10:48:29 -0800 (PST)
MIME-Version: 1.0
Received: by 10.204.160.147 with SMTP id n19mr1928390bkx.182.1264963708898;
Sun, 31 Jan 2010 10:48:28 -0800 (PST)
In-Reply-To: <fc3b3f241001311043k29695b3fl32f15358254afd30@mail.gmail.com>
References: <4B64AD2E.30709@inimino.org>
<fc3b3f241001301633u4fa1abfbqe0042fb6e681af07@mail.gmail.com>
<4B65A102.6050307@inimino.org>
<fc3b3f241001311043k29695b3fl32f15358254afd30@mail.gmail.com>
Date: Sun, 31 Jan 2010 19:48:28 +0100
Message-ID: <fc3b3f241001311048i75bb90dagf1e4a244164d38e1@mail.gmail.com>
Subject: Re: [nodejs] Promises, callbacks, Continuables and more
From: Jonas Pfenniger <jo...@pfenniger.name>
To: nodejs@googlegroups.com
Content-Type: text/plain; charset=UTF-8
On Sun, Jan 31, 2010 at 7:43 PM, Jonas Pfenniger <jo...@pfenniger.name> wrote:
> If the partial application is called twice, it means we get two
> different streams, since it is equivalent
> to calling streamLines two times.
I forgot to mention : the reason why this solution is more "clean" is
that there are less side-effects. But as a Haskeller you probably
already know that :-)
--
Jonas Pfenniger (zimbatm) <jo...@pfenniger.name>