emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: streams are cool, you could stream virtually anything!


From: Artur Malabarba
Subject: Re: streams are cool, you could stream virtually anything!
Date: Thu, 5 Nov 2015 11:26:06 +0000

2015-11-05 9:27 GMT+00:00 Nicolas Petton <address@hidden>:
> Michael Heerdegen <address@hidden> writes:
>
>> Nicolas Petton <address@hidden> 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]