On Sun, Sep 13, 2009 at 11:34:16AM +0200, Max Rabkin wrote: > That is part of the contract of toAscList (the "Asc" stands for > "ascending order"), but because of the way Map is implemented, the > result of toList is also sorted.
Cool. It is good to know that toAscList and toList would produce the same output. However, I think the question remains open. Is this piece of haskell code any different (in terms of the output it produces) from the C++ version? Thanks, -- ~dsouza yahoo!im: paravinicius gpg key fingerprint: 71B8 CE21 3A6E F894 5B1B 9ECE F88E 067F E891 651E _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe