M
MenTaLguY
--=-9IMhqHR9HJQZ/WlBYbpG
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Any particular reason we don't have an Array#unzip, or should I RCR
this?
class Array
def unzip( n=3D2 )
(0...n).map { |i| map { |tuple| tuple } }
end
end
-mental
--=-9IMhqHR9HJQZ/WlBYbpG
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBDbs/kcUNIGiXCc4MRAlqnAKC2pshNPqVyuSab+2jSh2BjpxuItgCcDMPN
Ukr4zpWV5/mvymgoY5iRf18=
=5lfp
-----END PGP SIGNATURE-----
--=-9IMhqHR9HJQZ/WlBYbpG--
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Any particular reason we don't have an Array#unzip, or should I RCR
this?
class Array
def unzip( n=3D2 )
(0...n).map { |i| map { |tuple| tuple } }
end
end
-mental
--=-9IMhqHR9HJQZ/WlBYbpG
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBDbs/kcUNIGiXCc4MRAlqnAKC2pshNPqVyuSab+2jSh2BjpxuItgCcDMPN
Ukr4zpWV5/mvymgoY5iRf18=
=5lfp
-----END PGP SIGNATURE-----
--=-9IMhqHR9HJQZ/WlBYbpG--