RE: ghc-hugs progress/status?

2000-03-30 Thread Simon Peyton-Jones
| For those of us who're not following the cvs archive, could the | maintainers give us a brief summary of recent progress on the ghc-hugs | "marriage" and other recent ghc work? A fair question. Here's a (GHC-centric) summary of the state of play. * Julian is away this week, but he has just em

Readline library

2000-03-30 Thread Wojciech Moczydlowski, Jr
I've been just writing some program using Readline library and I've noticed that I haven't got Readline.hi in /usr/local/lib/ghc/imports/util. Moreover, as I checked my source, I've found that it hasn't been built at all - it's not even in fptools/hslibs/util/.depend. What could have caused it a

Re: Readline library

2000-03-30 Thread George Russell
When I asked on the mailing list about this a year ago, I think I was told that it wasn't exactly supported any longer. So rather than trying to get GHC to compile ReadLine in, I used green-card instead. The attached file gives you the very simplest readline function. If you want to try to get

Posix module: how to detect symbolic links?

2000-03-30 Thread George Russell
How should I detect if a file is a symbolic link in Posix? If I were writing C, I could do it by lstat'ing, looking at the mode_t value in the result, and comparing it with S_IFLNK. Or at least I could on Sparc/Solaris. But the Posix encapsulation doesn't provide a FileMode value corresponding