[Haskell] Linker flags for foreign export.

2011-03-07 Thread Jason Dusek
I am having no luck generating a foreign export and calling it from C. The problem seems to be that I must spoon feed the linker. My working example is the files under this directory on Github: https://github.com/solidsnack/bash/tree/106e4de8358a726984d54859fb0b4aeaf264156f/hs/exports

[Haskell] ANNOUNCE: silently-0.0.2 (thread safe and can capture output)

2011-03-07 Thread Trystan Spangler
Silently has doubled in size with two new functions to capture the output of an IO action: capture :: IO a -> IO (String, a) hCapture :: Handle -> IO a -> IO (String, a) All 4 functions now clean up any temp file even if there's an asynchronous exception but it still uses temp files behind-

Re: [arch-haskell] Spec ready to go!

2011-03-07 Thread Peter Simons
Hi Rémy, > Is there anything depending on haskell-packedstring in the haskell repo? no, there isn't. The package appears to be obsolete. Take care, Peter ___ arch-haskell mailing list arch-hask...@haskell.org http://www.haskell.org/mailman/listinfo/

Re: [Haskell] ANNOUNCE: silently-0.0.1 (prevent IO actions from writing to stdout)

2011-03-07 Thread Bas van Dijk
On 7 March 2011 02:28, Trystan Spangler wrote: > Announcing Silently, a package with two simple functions to run an IO action > while preventing it from writing to stdout (or the given handle) Useful package! I tiny remark about the code: -- | Run an IO action while ignoring all output to stdou