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: T.V Raman
Subject: Re: streams are cool, you could stream virtually anything!
Date: Thu, 5 Nov 2015 16:39:32 -0800

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" <address@hidden> 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. 
 > 

-- 

-- 



reply via email to

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