Mon, 12 Jun 2000 11:12:50 -0700, Sigbjorn Finne <[EMAIL PROTECTED]> pisze:

> An implementation of UNIX 9? (aka the single UNIX spec) for Haskell
> would be a Fine Thing (but is there a demand?)

IMHO generic FFI should settle before. Then I would be glad to take
part in making such interface.

I just wanted to make a ls-like directory listing. Posix lacks symlinks,
sticky bits and device id of device files. SUSV2 still seems to lack
any interpretation of device id (major/minor), so device id cannot be
portably printed in a nice way.

It's annoying that to get an unsupported bit of information from Posix
types (like st_rdev or S_ISLNK), the only way that does not depend on
implementation of Haskell's Posix module is to rewrite an interface to
a C function together with marshalling relevant C types from scratch.

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/              GCS/M d- s+:-- a23 C+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                  W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-


Reply via email to