Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 40042 invoked from network); 18 May 2009 15:07:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 May 2009 15:07:32 -0000 Received: (qmail 91618 invoked by uid 500); 18 May 2009 15:07:31 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 91564 invoked by uid 500); 18 May 2009 15:07:31 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 91554 invoked by uid 99); 18 May 2009 15:07:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 15:07:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of zachary.zolton@gmail.com designates 209.85.219.168 as permitted sender) Received: from [209.85.219.168] (HELO mail-ew0-f168.google.com) (209.85.219.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 15:07:22 +0000 Received: by ewy12 with SMTP id 12so3990518ewy.11 for ; Mon, 18 May 2009 08:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=T/k8uwBJnaQ02nMuYeeWg1FJoD/ItQO+Uzqk/G3n3Ko=; b=VXh+pmPHSqflG0xeTUVSvmto/Lf8JCp7i4vP2APyQeziNeFsVqAORmA8wl12WnQ77n HKKT4EXaaDwbMZ+YQC4AV0+Dpj9JpWTp6cYR2CAezGDLh+mZjmzKOwnZ97JpHm3Vq4ag MSIYlcMHpOn6aGXzte9bnHJDEoHwfx6KSmTaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=uCyp6xiTUM/Znm/cfdIzymVitL+2Kr4nlqWxp1WSmiApykNOXQlL9QSr4G9/fUPQYf PTddlMA5YNOy19Z3MMJVd8GT4XCme4bnuYg6D8X/MTnsOm4fnj3gP4jLW00vxudRZGoG o3I0wXg273OAA0HwWgjRJXTALNxN1T/EZmomo= MIME-Version: 1.0 Received: by 10.216.30.81 with SMTP id j59mr2077507wea.50.1242659221499; Mon, 18 May 2009 08:07:01 -0700 (PDT) In-Reply-To: <20090518081627.GB29940@uk.tiscali.com> References: <20090518081627.GB29940@uk.tiscali.com> From: Zachary Zolton Date: Mon, 18 May 2009 10:06:41 -0500 Message-ID: Subject: Re: eep0018 and spidermonkey 1.8.1 To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Paul, I'd love to give some JavaScript 1.8 features a test drive in my view code! Let's see how it goes... Thanks, Zach On Mon, May 18, 2009 at 3:16 AM, Brian Candler wrote: > On Sun, May 17, 2009 at 09:01:34PM -0400, Paul Davis wrote: >> The specific bits are >> that when you emit(undefined, undefined) it now actually works and the >> key/value pair null, null is emitted. > > That would be useful behaviour in any case. Right now I end up writing > > =A0 =A0emit(doc.foo||null, doc.bar||null); > > but you have to be careful with that as a pattern - e.g. if doc.foo is an > empty string then null gets emitted instead. >