Re: Network.CGI changes

2008-01-21 Thread Johannes Waldmann
If you need the old wrapper function, then use something like this: wrapper :: ([(String,String)] - IO Html) - IO () wrapper f = runCGI $ do e - getInputs a - lift $ f $ e output $ renderHtml a best regards, Johannes Waldmann. ___

Re: Difference in binaries distribution of ghc 6.8.2

2008-01-21 Thread Christian Maeder
Thanks for pointing this out, though I will not do anything about it. I've used haddock-0.8 to build. (There was maybe a trac entry about broken haddock links.) The ghc team used some (odd) 0.8.0.1 haddock version http://www.haskell.org/ghc/docs/latest/html/libraries/index.html I haven't tried

Re: Integrating editline with ghc

2008-01-21 Thread Christian Maeder
Judah Jacobson wrote: I think it will be much simpler if we keep the readline and editline packages as they are now, and possibly add a third readline-compat package which can use either one as a dependency. Then any project (including GHC) can choose which of those packages to use, based on

RE: instance overlap

2008-01-21 Thread Simon Peyton-Jones
Serge, and others | 1. Can you check what ghc-5.02.3 will report on the below small program |with DShow I don't have ghc 5.02 to hand, but here's what 5.04.3 says about the code you give. ghc-5.04.3 -fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-instances Serge.hs

Re: Network.CGI changes

2008-01-21 Thread Frederik Eaton
Dear Johannes, Thanks, that works for me. Bjorn, perhaps it would be easier to put these five lines in a module (Network.CGI.Compat?) in the new package, rather than having people maintain and download a separate cgi-compat package? Perhaps the two other functions in the old CGI interface can be

Re: Integrating editline with ghc

2008-01-21 Thread Yitzchak Gale
Hi Christian, Christian Maeder wrote: ...Even better if the current package readline is renamed to old-readline and readline-compat to readline. I have been trying to understand why you want to do that. What would we gain? Thanks, Yitz ___

Re: Integrating editline with ghc

2008-01-21 Thread Christian Maeder
Yitzchak Gale wrote: Hi Christian, Christian Maeder wrote: ...Even better if the current package readline is renamed to old-readline and readline-compat to readline. I have been trying to understand why you want to do that. What would we gain? On Macs I want Shellac-readline to use

Re: ghc binary on virtualized solaris

2008-01-21 Thread Christian Maeder
I've created a new binary release with a ranlib path /usr/ccs/bin/ http://www.dfki.de/sks/hets/pc-solaris/versions/ghc-6.8.2-i386-unknown-solaris2.tar.bz2 (46826578 Bytes) and a fixed bug http://hackage.haskell.org/trac/ghc/ticket/1980 I have not tested it, though. I'm not sure, if it should

Re: Integrating editline with ghc

2008-01-21 Thread Christian Maeder
Christian Maeder wrote: Depending on what the ghc team and the library maintainers decide, readline has to be changed to readline-compat in *.cabal Maybe someone could point out how the conditional build-depends entry would look like in Shellac-readline.cabal if readline is to be used for older

Re: Problem building on host machine when trying to cross-compile an unregistered build

2008-01-21 Thread Simon Marlow
Jim Burton wrote: Truly sorry to bump this, but does anyone have any pointers about building the host part of a cross-compilation? I've tried to follow the wiki instructions and failed. First thing to note is that bootstrapping from HC files has bitrotted in 6.8.x, see

Re: Integrating editline with ghc

2008-01-21 Thread Simon Marlow
Christian Maeder wrote: Depending on what the ghc team and the library maintainers decide, either readline has to be changed to readline-compat in *.cabal or (worse) we get packages Shellac-readline and Shellac-editline or (more worse) Shellac-readline stays as is and I have to fiddle with

Re: Integrating editline with ghc

2008-01-21 Thread Christian Maeder
Simon Marlow wrote: It would be a bad idea to remove functionality from the readline package. It's a binding to the GNU readline library, and as such it does a fine job. I only want to move (not remove). For convenience, we would like there to be an API that can be supported by both

Re: Problem building on host machine when trying to cross-compile an unregistered build

2008-01-21 Thread Jim Burton
On Mon, 2008-01-21 at 15:23 +, Simon Marlow wrote: Jim Burton wrote: [...] First thing to note is that bootstrapping from HC files has bitrotted in 6.8.x, see http://hackage.haskell.org/trac/ghc/ticket/1346. I've updated the wiki instructions to say this. You should go back to 6.6.x,

Re: Problem building on host machine when trying to cross-compile an unregistered build

2008-01-21 Thread Matthias Kilian
On Mon, Jan 21, 2008 at 03:23:54PM +, Simon Marlow wrote: First thing to note is that bootstrapping from HC files has bitrotted in 6.8.x, see http://hackage.haskell.org/trac/ghc/ticket/1346. I've updated the wiki instructions to say this. You should go back to 6.6.x, or be prepared to