[Haskell-cafe] groupBy huh?
Brandon S Allbery KF8NH
allbery.b at gmail.com
Fri Mar 4 02:14:26 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3/3/11 20:09 , Jacek Generowicz wrote:
>> 1 < 2 ok, same group
>> 1 < 3 dito
>> 1 < 2 dito
>> Thus you get [[1,2,3,2]]
>
> OK, that works, but it seems like a strange choice ...
Stability is often valued in functions like this: the order of elements is
not altered.
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery.b at gmail.com
system administrator [openafs,heimdal,too many hats] kf8nh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1wPPIACgkQIn7hlCsL25WF3ACfZrwM2OxutJZgadhaSCcpjoEv
Bg4AnA+V/H3tfCovwwnw8qrlaw5I92C4
=WJev
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe
mailing list