Re: ByteString-backed Handles, and another couple of questions

2009-12-15 Thread Duncan Coutts
On Tue, 2009-12-15 at 12:48 -0800, Bryan O'Sullivan wrote: > > Yes, that would amount to double-buffering, and would work nicely, > only the current buffers go through foreign pointers while text uses > an unpinned array. I can see why this is (so iconv can actually work), > but it does introduce

Re: ByteString-backed Handles, and another couple of questions

2009-12-15 Thread Bryan O'Sullivan
On Tue, Dec 15, 2009 at 1:39 AM, Simon Marlow wrote: > > I haven't implemented a bytestring-backed Handle, but as you say all the > abstractions should be present. It would be a great thing to have on > Hackage. > > A good starting point would be the mmap-backed Handle code that I wrote for > my

Re: Porting to DragonFly BSD

2009-12-15 Thread Colin Paul Adams
> "Goetz" == Goetz Isenmann writes: Goetz> With the attached errno_ptr.{h,c} I create a shared Goetz> library, that encapsulates the errno access, install the Goetz> header file as /usr/pkg/include/errno_ptr.h and the shared Goetz> lib as /usr/pkg/lib/liberrno_ptr.so Goet

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread Ian Lynagh
On Mon, Dec 14, 2009 at 03:24:05PM +0100, Bas van Dijk wrote: > There's a broken link to the Haskell Platform in: > > http://haskell.org/ghc/docs/6.12.1/html/users_guide/release-6-12-1.html#id2890234 Thanks; fixed with a redirect. Thanks Ian ___ Glas

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread Ian Lynagh
On Sun, Dec 13, 2009 at 06:06:26PM +, Robin Green wrote: > I have been using GHC 6.12.1 from > http://www.haskell.org/ghc/dist/6.12.1-pre/ (which doesn't exist any > more). Do I need to upgrade, or is it exactly the same? Do I need to > recompile packages? I wouldn't recommend using unannounce

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread Daniel Fischer
Am Dienstag 15 Dezember 2009 10:43:10 schrieb Simon Marlow: > > Please submit a bug report. Presumably we need a configure test for -lz > somewhere. http://hackage.haskell.org/trac/ghc/ticket/3756 Yes, passing -optl-lz to all tests gave only 3 unexpected failures for threaded1. > > Cheers, >

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread Ian Lynagh
On Tue, Dec 15, 2009 at 06:41:06AM +, Luca Ciciriello wrote: > > BTW, reading the new wiki library page I've noticed that I can use > atomically, pseq, par, forkIO, etc, simply importing GHC.Conc Note that that is not a supported interface, and may break in future releases. Thanks Ian ___

Re: Porting to DragonFly BSD

2009-12-15 Thread Colin Paul Adams
> "Karel" == Karel Gardas writes: Karel> Seeing DragonFly BSD and `make' together with your make Karel> error messages rings an alarm here with a suggestion to use Karel> GNU make. That's a good alarm you have :-) gmake works much better. Thanks. -- Colin Adams Preston Lancashi

Re: Porting to DragonFly BSD

2009-12-15 Thread Thanos Tsouanas
On Tue, Dec 15, 2009 at 12:53 PM, Colin Paul Adams wrote: > > [..snip..] > > I've finally got round to trying this. I'm having a problem which > maybe has a simple known solution. > > What I have done so far: > > 1) Built and deployed the shared library as detailed above > 2) Applied the diff with

Re: Porting to DragonFly BSD

2009-12-15 Thread Colin Paul Adams
> "Goetz" == Goetz Isenmann writes: Goetz> My current strategie is, to avoid the problem in a first Goetz> step. Goetz> With the attached errno_ptr.{h,c} I create a shared Goetz> library, that encapsulates the errno access, install the Goetz> header file as /usr/pkg/inclu

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread Simon Marlow
On 14/12/09 19:04, Jost Berthold wrote: Luca, to use Control.Parallel, you need to download and install two packages, deepseq and parallel, from hackage.haskell.org. Most likely this will work with cabal, or you just download the two tarballs . cabal install parallel (assuming you have a work

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread Simon Marlow
On 15/12/09 08:20, flw wrote: After I installed GHC-6.12.1, the cabal-install program could not works normally. $ sudo cabal install cabal: failed to parse output of 'ghc-pkg dump' $ You need an updated version of cabal-install. As I understand it, version 0.8 has not been released yet, but

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread Simon Marlow
On 14/12/09 21:16, Daniel Fischer wrote: Am Montag 14 Dezember 2009 14:36:14 schrieb Ian Lynagh: == The (Interactive) Glasgow Haskell Compiler -- version 6.12.1 ==

Re: ByteString-backed Handles, and another couple of questions

2009-12-15 Thread Simon Marlow
On 15/12/09 06:09, Bryan O'Sullivan wrote: I just added support to Data.Text for your new Unicode-based Handle implementation, and I'd like to write some tests. The natural way to do this would be to create Handles that will write to, and read from, ByteStrings. Does any such code exist at the m

Re: ANNOUNCE: GHC version 6.12.1

2009-12-15 Thread flw
After I installed GHC-6.12.1, the cabal-install program could not works normally. $ sudo cabal install cabal: failed to parse output of 'ghc-pkg dump' $ please help me. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.