Re: [Haskell-cafe] Weird ghci behaviour?

2007-07-21 Thread Marc A. Ziegert
This is ghc 6.6. Anyone else seeing this? not here. what do these output: ghc --version and ghci --version ? are they different? besides that.. why do you use 6.6? may it bee.. is your Unix-like OS sth between OSX and linux? (i remenber there exists a Gnu/Darwin package manager without the

RE: [Haskell-cafe] gui libs? no thanks, i'm just browsing.. ;-)

2007-07-21 Thread Simon Peyton-Jones
| abi compatibility would be very nice to have (if the library/binding | code | doesn't change, newer ghc major versions should still be able to link | to | bindings compiled with older ones). that is only going to become more | important as fewer libraries are going to be shipped with ghc itself

Re: [Haskell-cafe] gui libs? no thanks, i'm just browsing.. ;-)

2007-07-21 Thread Claus Reinke
That is all true. ABI compatibility would be nice. But I don't see how to combine with GHC's other goals. Notably, we frequently add new information to interface files, and it would be a major constraint not to be able to do so. that is the bit i never quite understood: if newer formats

Re: [Haskell-cafe] gui libs? no thanks, i'm just browsing.. ;-)

2007-07-21 Thread Hugh Perkins
I'm not sure if you're talking about C++ ABIs or C ABIs? If you're already using a C ABI, and you're getting incompatibilities, well I have nothing useful to say :-) If you're talking about C++ ABIs, technically it's possible to use a Generator to drop-down into a C ABI, pump across the

Re: [Haskell-cafe] i need wxHaskell compiled for ghc 6.6.1 on Windows

2007-07-21 Thread Neil Mitchell
Hi Bulat, can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1 on Windows? This is precisely the reason I switched to Gtk2Hs - Duncan provides Windows installers as each new GHC release comes out. If wxHaskell wants to stand any chance as an alternative GUI framework there

[Haskell-cafe] how can I call GHC.init and GHC.initPackages?

2007-07-21 Thread Vadim
Hi all, The following lines of code: import GHC main :: [PackageIdentifier] - IO () main pkgs = GHC.defaultErrorHandler defaultDynFlags $ do GHC.init (Just GHC_LIBDIR) interactive pkgs seemingly worked in GHC 6.6 but they do not work in 6.6.1 anymore with error message: [1

[Haskell-cafe] [OT] Install ghc6-doc fails

2007-07-21 Thread J. Pablo Fernández
Hello, This may be a bit off topic, but maybe someone here has importante related information. I am running Kubuntu, the lattests stable version, but I am running unstable Haskell packages, that is, I fetch the dsc, diff and tarballs and build the debs myself of what will come in the next

Re: [Haskell-cafe] Haskell monads for newbies

2007-07-21 Thread Stefan O'Rear
On Sun, Jul 15, 2007 at 07:23:37PM +0100, Andrew Coppin wrote: As for robust... it tiles windows. What could possibly go wrong? I'm told that early versions of DWM had a habit of segfaulting if you looked at them wrong. Just usual C stuff. Which in a normal setup, will cause the rest of your

Re: [Haskell-cafe] External Sort and unsafeInterleaveIO

2007-07-21 Thread Stefan O'Rear
On Tue, Jul 17, 2007 at 04:16:29AM -0500, Ben wrote: hi folks -- a haskell newbie here, searching for comments and wisdom on my code. i had a project to try to implement external sort in haskell as a learning exercise. (external sort is sorting a list that is too large to fit in main