From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: streams are cool, you could stream virtually anything! Date: Thu, 5 Nov 2015 11:26:06 +0000 Message-ID: References: <87ziyuaqhl.fsf@petton.fr> <87fv0labbf.fsf@web.de> <87y4eda0kl.fsf@petton.fr> <8737wl9w5f.fsf@web.de> <87bnb8kd82.fsf@petton.fr> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1446722783 17810 80.91.229.3 (5 Nov 2015 11:26:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2015 11:26:23 +0000 (UTC) Cc: Michael Heerdegen , emacs-devel To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 05 12:26:22 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 1ZuIgP-0003cZ-Ro for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2015 12:26:21 +0100 Original-Received: from localhost ([::1]:59912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuIgP-0007lB-DZ for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2015 06:26:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuIgC-0007l1-4D for emacs-devel@gnu.org; Thu, 05 Nov 2015 06:26:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuIgB-0002y0-9V for emacs-devel@gnu.org; Thu, 05 Nov 2015 06:26:08 -0500 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:36829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuIgB-0002xp-29 for emacs-devel@gnu.org; Thu, 05 Nov 2015 06:26:07 -0500 Original-Received: by lbblt2 with SMTP id lt2so14047358lbb.3 for ; Thu, 05 Nov 2015 03:26:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=6HaWwAKm6GP6tyAU6FhtBdrw7p/zz7y+zA8y+Xal8Ec=; b=Rwzl+EhI4CxfSqfTNkvR+uvXErVLLmcCGsOdQhzrERDR6ux8PYZOEKt3M3AN9Km7uH HQygYPO0OFscDjFZr0f06Y3oRcBQiMpJixcCs32nfZBp5IO7Zng0I99G8RsKhIcAM8Oa KMVxWHMVECMjeVMm87FPjCgMduvza/nEsjCPivxu0VYDKE9nitfuDSrLKmDZ9o7TU0/I Yvj2Qraah7ED2Z2PqZ7cxtaVWisWEMp9bLisTf1zySb+Ij+kEu1ScmvEy4qEdvn7wmiK KU564AhGbwqRubYYm4keRlT+v7Vxj/DXcohXoESGMHkqcMiEQAX8NdjYU1zaTunsVlWT /V2Q== X-Received: by 10.112.35.196 with SMTP id k4mr3524219lbj.3.1446722766335; Thu, 05 Nov 2015 03:26:06 -0800 (PST) Original-Received: by 10.112.63.70 with HTTP; Thu, 5 Nov 2015 03:26:06 -0800 (PST) In-Reply-To: <87bnb8kd82.fsf@petton.fr> X-Google-Sender-Auth: kctkt5MW5Fx3eyswmJ29KFQWpVI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::232 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:193284 Archived-At: 2015-11-05 9:27 GMT+00:00 Nicolas Petton : > Michael Heerdegen writes: > >> Nicolas Petton writes: >> >>> Indeed! Could I by any chance get another pull request from you on >>> GitHub? >> >> Of course. Are you ok when `stream-pop' would raise a (newly defined) >> error when called on an empty stream? > > Yup, that's fine with me. > > One question though, how do you plan to implement it? I ask because now > that I think about it, streams have been (until now) fully immutable. I would expect it to be a macro, (prog1 (stream-car stream) (setq stream (stream-cdr stream)))