Re: FFI: Problem with Signal Handler Interruptions

2009-08-15 Thread Levi Greenspan
On Fri, Aug 14, 2009 at 11:45 PM, Simon Marlow wrote: > You should check for EINTR and restart the call as necessary.  This is > standard best practice for POSIX programming anyway, and we do it for all > the calls that can return EINTR in the IO library and RTS. [...] > Blocking SIGVTALRM is not a

Re: what is the path to a particular module?

2009-08-15 Thread Peter Hercek
On Fri, 14 Aug 2009 14:50:48 -0400, S. Alexander Jacobson wrote: > Is there a way from GHCi to discover the path to a particular module > that you have imported or loaded? It may not be what you wanted but in the worst case you can use ghc-pkg list to see all the package names then for each name

Re: what is the path to a particular module?

2009-08-15 Thread Thomas DuBuisson
> Is there a way from GHCi to discover the path to a particular module that > you have imported or loaded? If you do "ghci -v4" it will print out all the exposed modules right below the package that exposes them and the directory the package is in. You could just copy/paste this text and do a sim