Re: Any way to catch runtime errors in a DLL?

2006-06-15 Thread Lennart Augustsson
Exceptions generated from Haskell you can catch, but the really bad ones are those that the runtime system itself generates (when something really bad happens, like a failed malloc). I have a set of patches that fixes those, so you can actually write safe DLLs. One of these days I'll file a bug

Re: installing a Cabal package non-exposed

2006-06-15 Thread S. Alexander Jacobson
Personally, I find the whole notion of "installing" libraries problematic. In particular, unless the process of building the libraries is particularly user-directed, local library copies are really de facto caches. And since different application need different library namespaces it seems we

Re: Any way to catch runtime errors in a DLL?

2006-06-15 Thread Michael Marte
Simon Marlow wrote: Michael Marte wrote: if a runtime error occurs inside a DLL compiled by ghc (like "irrefutable pattern match failed" or exceptions caused by error), the application that called the DLL function dies. This is ok for development but unacceptable when it happens with a user si

installing a Cabal package non-exposed

2006-06-15 Thread Christian Maeder
Hi, how can install a Cabal package hidden directly? Currently I simply install it and have to hide it afterwards, manually. (Meanwhile one could get a conflict with new exposed modules.) I've tried "./setup register --gen-script" and edit the file "register.sh", but that does not install the .a

Re: [Haskell] STM applications and examples?

2006-06-15 Thread Lemmih
On 6/13/06, Simon Marlow <[EMAIL PROTECTED]> wrote: Hi Folks, I'm interested in gathering information about existing STM applications and example code that people might be working on or have lying around. It would be great to maintain a list of such applications and example code on the wiki some