On 3/3/11 8:14 PM, Brandon S Allbery KF8NH wrote:
-----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.

Making it stable and also comparing adjacent elements is entirely doable.

--
Live well,
~wren

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to