[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: streams are cool, you could stream virtually anything!
From: |
Nicolas Petton |
Subject: |
Re: streams are cool, you could stream virtually anything! |
Date: |
Fri, 06 Nov 2015 18:36:24 +0100 |
User-agent: |
Notmuch/0.20.2 (http://notmuchmail.org) Emacs/25.0.50.1 (x86_64-unknown-linux-gnu) |
John Wiegley <address@hidden> writes:
> So let's say I've written a function over lists, and I realize I want it to
> act on streams instead. I'd hope that I could just insert "stream-" in several
> places and fulfill that need. If I have to also change over to a different set
> of names for the same effective operations, that would be unfortunate.
That's exactly why I did seq.el! :-)
It doesn't have `seq-first' and `seq-rest' though, but I could very well
add them. The only thing we will have to know is that `seq-rest' will
be more expensive on arrays than lists and streams.
Cheers,
Nico
signature.asc
Description: PGP signature
- Re: streams are cool, you could stream virtually anything!, (continued)
- Re: streams are cool, you could stream virtually anything!, T.V Raman, 2015/11/05
- Re: streams are cool, you could stream virtually anything!, Michael Heerdegen, 2015/11/05
- Re: streams are cool, you could stream virtually anything!, John Wiegley, 2015/11/05
- Re: streams are cool, you could stream virtually anything!, Michael Heerdegen, 2015/11/05
- Re: streams are cool, you could stream virtually anything!, Filipp Gunbin, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, Nicolas Petton, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, Artur Malabarba, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, Nicolas Petton, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, John Wiegley, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, John Wiegley, 2015/11/06
- Re: streams are cool, you could stream virtually anything!,
Nicolas Petton <=
- Re: streams are cool, you could stream virtually anything!, Nicolas Petton, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, John Wiegley, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, Nicolas Petton, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, John Wiegley, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, Nicolas Petton, 2015/11/06
- Re: streams are cool, you could stream virtually anything!, Artur Malabarba, 2015/11/05
- Re: streams are cool, you could stream virtually anything!, Michael Heerdegen, 2015/11/05
Re: streams are cool, you could stream virtually anything!, Phillip Lord, 2015/11/04