Directory-backed Handle?

Dimitry Golubovsky golubovsky at
Tue Sep 14 15:00:34 EDT 2010


In the GHC I/O system, a Handle may be backed by a "device" (IODevice
instance) with IODeviceType = Directory

There doesn't seem to be any (at least Google search did not give
anything) code that uses this; however, what is supposed to be read
from such a Handle: newline-separated list of filenames (like in
getDirectoryContents), or some sort of serialized FileStatus
structures, or anything else?


Dimitry Golubovsky

Anywhere on the Web

More information about the Glasgow-haskell-users mailing list