Documenting GHC

2010-03-13 Thread Yitzchak Gale
In the thread "strictness of unused arguments", Max Bolingbroke wrote: > There is nothing *published* (Simon has a half-written one lying > around though)... > Unfortunately the weird behaviour you are seeing is due to... > one of the unpublished bits... There are various critical parts of the inn

Re: native threads vs. -threaded

2010-03-13 Thread Donn Cave
Quoth Simon Marlow , ... >> So it was surprising when this turned out to be incompatible >> with the -threaded link option. With that option, I get one >> callback from a non-main thread, and then that native thread >> will die, shortly after return from the callback. > > You'll need to elaborate

Re: native threads vs. -threaded

2010-03-13 Thread Simon Marlow
On 12/03/10 16:38, Donn Cave wrote: I have been working on a Haskell interface to the platform API for Haiku (was BeOS.) It's C++, but the interesting thing at the moment is the use of threads - a UI window gets its own thread, and whatever Haskell code will be executed by callbacks from that th

Proposed ghc-pkg and cabal feature - right list?

2010-03-13 Thread Dan Knapp
There doesn't seem to be a mailing list for Cabal itself, so I'm posting here. I came up with an idea for a small feature that I believe would make a useful addition to ghc-pkg and Cabal. I'm willing to implement it myself, but I have had some previous experiences with other projects where I did