behaviour change in getDirectoryContents in GHC 7.2?

Donn Cave donn at
Sun Nov 6 18:16:00 CET 2011

Quoth John Millikin <jmillikin at>,
> One is to give low-level access, using abstractions as close to the
> real API as possible. In this model, "unix" would provide functions
> like [[ rename :: ByteString -> ByteString -> IO () ]], and I would
> know that it's not going to do anything weird to the parameters.

I like that a lot.  In the "PEP" I see the phrase "in the same way that
the C interfaces can ignore the encoding" - and the above low level
access seems to belong to that same non-problematic category.


More information about the Glasgow-haskell-users mailing list