[Haskell-cafe] getDirectoryContents and sort order

Sönke Hahn shahn at cs.tu-berlin.de
Tue Jan 25 14:26:22 CET 2011


John Lask wrote:

> I have noticed that on my windows box and ghc 6.12.3 I get the return
> list for System.Direcotry.getDirectoryContents in reverse sorted order.
> This is a change from previous observed behavior and I would consider it
> a bug. I would like to verify that it is not just me.

I think, getDirectoryContents returns a list in unspecified order. So a 
change in behavior wouldn't be a bug.





More information about the Haskell-Cafe mailing list