[PD] splitting a list into pairs of two
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Oct 3 12:09:21 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> On Wed, Oct 3, 2012 at 12:49 PM, Alexandros Drymonitis
<adrcki at gmail.com>wrote:
>
>> But if my list has an odd number of elements, then I lose the
>> last one, don't I?
no. that's what the last outlet of [list split] is for.
On 2012-10-03 11:58, Alexandros Drymonitis wrote:
> Plus, the pairs I get with [list split 2] are 1 2 3 4 where I want
> to get 1 2 2 3 3 4
ah i see. i misunderstood the question then.
fgamsdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlBsDswACgkQkX2Xpv6ydvSL6ACgvm7aU8M5nJewL4xsaVVPHDrN
/OgAoOSC6UvWEhuy4Ql3ZyTkhjvJhmDn
=RoUH
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2320 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121003/9167796c/attachment.bin>
More information about the Pd-list
mailing list