Re: GHC on powerpc (OS X): segmentation fault

2008-11-16 Thread Ian Lynagh
On Thu, Nov 13, 2008 at 09:32:41AM +0100, Christian Maeder wrote: libreadline.5.2.dylib is no longer needed, since ghc uses libedit.2.dylib (which uses libncurses.5.dylib, that should be also under /usr/lib/) Whoops, thanks. Now fixed. Thanks Ian

Re: A lazy (~) pattern cannot bind existential type variables?

2008-11-16 Thread Conal Elliott
data HasShow = forall a. Show a = HasShow a weird ~(HasShow x) = HasShow x Now, what Show context is referred to by the result of weird undefined? I'd expect bottom, just as with matching ~(x,y) against bottom. The lambda is not the same as the where clause. Let's desugar a few of the

RPM for 6.10.1 on Fedora?

2008-11-16 Thread Colin Paul Adams
I have 6.8.2 installed here (Fedora 9 x86_64). Doing a yum update says no update available. Does this mean I have yum wrongly configured, or is it just the case that the 6.10.1 roms haven't been built yet? -- Colin Adams Preston Lancashire ___

Re: Crash in garbage collector

2008-11-16 Thread Ian Lynagh
On Sat, Nov 15, 2008 at 05:31:12PM +, Colin Paul Adams wrote: Can you suggest how I should go about investigating this problem further? Try linking with -debug, and running with +RTS -DS. That might reveal the problem, and if not you should get more useful info from gdb. Thanks Ian

Re: Crash in garbage collector

2008-11-16 Thread Colin Paul Adams
Ian == Ian Lynagh [EMAIL PROTECTED] writes: Ian On Sat, Nov 15, 2008 at 05:31:12PM +, Colin Paul Adams wrote: Can you suggest how I should go about investigating this problem further? Ian Try linking with -debug, and running with +RTS -DS. That Ian might reveal the

Re: editline in ghc-6.10.1 under Solaris

2008-11-16 Thread Judah Jacobson
On Mon, Nov 10, 2008 at 4:24 AM, Christian Maeder [EMAIL PROTECTED] wrote: Hallo Judah, I've build http://www.thrysoee.dk/editline/libedit-20080712-2.11.tar.gz and it was linked against libcurses: -bash-3.1$ ldd /usr/local/lib/libedit.so.0 libcurses.so.1 =/lib/libcurses.so.1

Re: Crash in garbage collector

2008-11-16 Thread Ian Lynagh
On Sun, Nov 16, 2008 at 06:49:20PM +, Colin Paul Adams wrote: I added the -debug link flag. Add I added +RTS and -DS as command-line arguments in the call to hs_init() (I presume that's what you meant me to do). Yes, that sounds like it should work. I can't notice any difference.

Re: Crash in garbage collector

2008-11-16 Thread Colin Paul Adams
Ian == Ian Lynagh [EMAIL PROTECTED] writes: Ian If you were lucky it would abort with an assertion Ian failure. Anyway, gdb should now have debugging symbols to Ian work with. It already did (I passed the -g option to gcc). I guess I will need to install the GHC source to get file

Re: extra libraries vs. cabal libraries (ghc-6.10.1)

2008-11-16 Thread Ian Lynagh
On Wed, Nov 05, 2008 at 02:16:39PM +0100, Christian Maeder wrote: the documentation of extra libraries is listed under share/doc/ghc/libraries/ 1. Is it possible to add cabal packages in the same way? How? If you do cd share/doc/ghc/libraries sh gen_contents_index then the contents

Re: problem with echo prompting in ghci (visible in emacs)

2008-11-16 Thread Conal Elliott
I'm still looking for a solution to this problem. I've heard from a few people who are affected also, but not any solution. Barring a solution to ghci's behavior, does someone have an emacs-based workaround? - Conal On Tue, Nov 11, 2008 at 4:41 PM, Conal Elliott [EMAIL PROTECTED] wrote:

Re: problem with echo prompting in ghci (visible in emacs)

2008-11-16 Thread Judah Jacobson
2008/11/16 Conal Elliott [EMAIL PROTECTED]: I'm still looking for a solution to this problem. I've heard from a few people who are affected also, but not any solution. Barring a solution to ghci's behavior, does someone have an emacs-based workaround? - Conal On Tue, Nov 11, 2008 at