From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman@google.com (T.V Raman) Newsgroups: gmane.emacs.devel Subject: Re: streams are cool, you could stream virtually anything! Date: Thu, 5 Nov 2015 16:39:32 -0800 Message-ID: <22075.63172.642626.460159@retriever.mtv.corp.google.com> References: <87ziyuaqhl.fsf@petton.fr> <87fv0labbf.fsf@web.de> <87y4eda0kl.fsf@petton.fr> <8737wl9w5f.fsf@web.de> <87bnb8kd82.fsf@petton.fr> <87wptwirxw.fsf@petton.fr> <877flwl7ee.fsf@web.de> <87y4ecglb5.fsf@petton.fr> <22075.59289.690185.199808@retriever.mtv.corp.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1446770397 28364 80.91.229.3 (6 Nov 2015 00:39:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2015 00:39:57 +0000 (UTC) Cc: michael_heerdegen@web.de, nicolas@petton.fr, emacs-devel@gnu.org, raman@google.com To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 06 01:39:56 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZuV4K-0005cs-7Z for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 01:39:52 +0100 Original-Received: from localhost ([::1]:36092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuV4J-0007Rm-7C for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2015 19:39:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuV45-0007RW-2S for emacs-devel@gnu.org; Thu, 05 Nov 2015 19:39:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuV43-0004fR-U7 for emacs-devel@gnu.org; Thu, 05 Nov 2015 19:39:36 -0500 Original-Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:33699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuV43-0004fM-Nr for emacs-devel@gnu.org; Thu, 05 Nov 2015 19:39:35 -0500 Original-Received: by pabfh17 with SMTP id fh17so103083927pab.0 for ; Thu, 05 Nov 2015 16:39:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:cc:subject:in-reply-to:references; bh=mLbCRV4GaEdAD1Nl4ZYj17/9hKJdMTBzIyKn04SoD98=; b=dFnq0KS0PdiNKvznAp03r94YrbR5DEQwLgue40vwZId50xoe0vGyyBtrVCZsDtk8+T H+hnblEZ5AovjjtWA1n37ipHosjcvBDOieoDFrMiBFKym+Uh2MKqAW2RAV95xhJ5NiLy G5GLGbK6X90/qNNPpUVoTsp7o29xfdmPJUw0CYIjnpmF0lyjR/DzK7oG/UJA2kTYN5A7 CWd8ISdxX8/qGGZeF03aEMNc4kD44nRFSBo8ry6VR8Ou5ngZnJWrDQLT9WOtXuKETBjO HzV6BRnkStmMsyFQGRGj1stE1CHOFqRoPPAkIYl4Z4oQ1w60FjdNgYUR6ipSG5K7s6PS Q2rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:cc:subject:in-reply-to :references; bh=mLbCRV4GaEdAD1Nl4ZYj17/9hKJdMTBzIyKn04SoD98=; b=mIh3fhsQkEuv/EAyxgPvzwIwworaVk89b4gspi1UbqvutmyIXSOcmzJE0fqAtKsP3k oXnsrM0mWLe6a2g+bmcUPIh+XPOmeg6jrihG/hvz5rfKtp5QGXoGiYYQcH9kNmTGUmNE 81d59oNnhHVT3vwsHKG8wLr/Rc42jPF7OpPMxAueZ59JA0I+NKVM2ggnilIabThZ0Tnq 7w4f5mNAKZp0AcEDAyw6OH9A70cdJ9tPU61GYwaiGXMV/1LUBZSnYT+8lcZsriI2Mr2L IR+Q/xMJnKaZUsrxC2gba1F0hpTcarVhHqUbebfIR1a+xAV8vFQtJn0Czg5935G3LY9U BR9A== X-Gm-Message-State: ALoCoQm6grcwKHdTGY8F66fJ3QLIEEQq+6N7rTq7PZD8zzespS90KfTA2m4IyCucXpef3irA4Q/l X-Received: by 10.68.230.170 with SMTP id sz10mr13305783pbc.139.1446770374818; Thu, 05 Nov 2015 16:39:34 -0800 (PST) Original-Received: from retriever.mtv.corp.google.com ([172.22.162.32]) by smtp.gmail.com with ESMTPSA id f3sm10052341pas.36.2015.11.05.16.39.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Nov 2015 16:39:33 -0800 (PST) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id C67451A1BEB; Thu, 5 Nov 2015 16:39:32 -0800 (PST) In-Reply-To: X-Mailer: VM 8.1.1 under 25.0.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:193363 Archived-At: The mental pairing of push, pop isn't so much about using them in the same function -- it's more about your mental model of the API and what you expect -- so if you see stream-pop as an exported API function --- you implicitly assume that there must be a stream-push Artur Malabarba writes: > On 5 Nov 2015 11:34 pm, "T.V Raman" wrote: > > > > I still like these things to be in pairs, and I'm not particularly > > sold on having stream-pop. > > Perhaps slightly unrelated, but I don't even think of push pop as a pair. I mean, I see the obvious the relation. It's just that I've never even used them in the same function, even though I use both a lot. > > But I digress. I haven't even used stream.el yet, so I'm just assuming stream-pop would be as useful as pop. > -- --