Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.haskell > #495
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.haskell |
| Subject | Re: standard function to zip a list with sequential numbers |
| Date | Mon, 15 Oct 2018 02:55:32 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 19 |
| Message-ID | <87woqkkm7f.fsf@bsb.me.uk> (permalink) |
| References | <0mQwD.236894$ZJ2.33603@fx33.iad> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | reader02.eternal-september.org; posting-host="04ab979274426e3308dd5d361f6d9859"; logging-data="3305"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CuTfaJmC0NVi7giqz1v86j7lvBav1mHI=" |
| Cancel-Lock | sha1:+BztV92ntX5TQTptwttvU1bqdD0= sha1:gqO5b4NdFQjc7jAI5S8vScA5Mdc= |
| X-BSB-Auth | 1.e69458e82853b1a04830.20181015025532BST.87woqkkm7f.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.haskell:495 |
Show key headers only | View raw
Pavel <pauldontspamtolk@removeyourself.dontspam.yahoo> writes:
> Is there a standard Haskell function to the effect of
>
> zip [0..]
> or
> zip [1..]
> ?
I don't know what either that short-hand, nor the wording used in the
subject ("zip a list with sequential numbers") is supposed to mean.
If you are fining it hard to specify what you mean, either explain it by
using some other programming language, or at least give a few examples
of what you want. If zip [0..] should work, what do you want zip [0..]
to be?
--
Ben.
Back to comp.lang.haskell | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
standard function to zip a list with sequential numbers Pavel <pauldontspamtolk@removeyourself.dontspam.yahoo> - 2018-10-14 19:32 -0400
Re: standard function to zip a list with sequential numbers Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-10-15 02:55 +0100
Re: standard function to zip a list with sequential numbers Pavel <pauldontspamtolk@removeyourself.dontspam.yahoo> - 2018-10-14 22:47 -0400
Re: standard function to zip a list with sequential numbers Paul Rubin <no.email@nospam.invalid> - 2018-10-14 20:02 -0700
Re: standard function to zip a list with sequential numbers Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-10-15 16:43 +0100
Re: standard function to zip a list with sequential numbers Patrick Roemer <sangamon@netcologne.de> - 2018-10-16 17:41 +0200
Re: standard function to zip a list with sequential numbers Paul Rubin <no.email@nospam.invalid> - 2018-10-16 10:56 -0700
Re: standard function to zip a list with sequential numbers Pavel <pauldontspamtolk@removeyourself.dontspam.yahoo> - 2018-10-17 01:43 -0400
csiph-web