Re: GNUreadline.framework and GMP.framework

2007-05-18 Thread Christian Maeder
It seems our GMP.framework is only suited for Powerpc. I'll look after it. Thanks for your hints and sorry for the inconveniences. (Meanwhile you could try to get the GMP.framework for intel macs from elsewhere.) Christian P.S. There is also a problem with the GNUreadline.framework in your home

RE: Avoiding CAF's

2007-05-18 Thread Simon Peyton-Jones
| I remember the reason that was unsatisfactory now. The RULES only fire | at high optimisation levels, whereas for this particular program the | CAF/unCAF-ness of a function effects whether the program gives the | correct answer. That is indeed scary. Would you like to give a small example of

Re: Avoiding CAF's

2007-05-18 Thread Neil Mitchell
Hi Ian and Simon, Ian said: Does the boxing not get optimised out? Is the FFI imported function exported from the module? http://hpaste.org/1882 (replicated at the end of this message in case the hpaste is not around forever, but clearly layout and syntax colouring) Thats the main branch,

Re: Avoiding CAF's

2007-05-18 Thread Neil Mitchell
Hi http://hpaste.org/1882 (replicated at the end of this message in case the hpaste is not around forever, but clearly layout and syntax colouring) For completeness, the code in question is: Main.$wccall [NEVER Nothing] :: GHC.Prim.State# GHC.Prim.RealWorld -

Re: [Haskell] Announce: Yi 0.2.0 released

2007-05-18 Thread Jean-Philippe Bernardy
Hello, The following happened to Johannes Waldmann as trying to run yi, which embeds the GHC api to dynamically load code. [EMAIL PROTECTED]:~ yi yi: can't load .so/.DLL for: pthread (/usr/lib/libpthread.so: invalid ELF header) The error doesn't happen on my system (ubuntu feisty); despite

optimization that doesn't make recompilation be needed more often?

2007-05-18 Thread Isaac Dupree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could there be a flag weaker than -O that doesn't cause recompilation any more than -O0 does -- would that provide any worthwhile optimizations? (an intermediate speed-tradeoff option for haskell developers.) Dependency on the details of modules

Re: optimization that doesn't make recompilation be needed more often?

2007-05-18 Thread John Meacham
On Fri, May 18, 2007 at 05:51:12PM -0400, Isaac Dupree wrote: Could there be a flag weaker than -O that doesn't cause recompilation any more than -O0 does -- would that provide any worthwhile optimizations? (an intermediate speed-tradeoff option for haskell developers.) Dependency on the

Re: Wanted: warning option for usages of unary minus

2007-05-18 Thread John Meacham
On Mon, May 14, 2007 at 10:19:07AM +0100, Simon Marlow wrote: Really? I'm beginning to have second thoughts about the proposed change to negation for Haskell'. The main reason, and this isn't pointed out as well as it should be on the wiki, is that x-1 will cease to be an infix

Re: Wanted: warning option for usages of unary minus

2007-05-18 Thread John Meacham
On Thu, May 17, 2007 at 06:40:04PM +0200, Twan van Laarhoven wrote: Simon Marlow wrote: ... Really? I'm beginning to have second thoughts about the proposed change to negation for Haskell'. The main reason, and this isn't pointed out as well as it should be on the wiki, is that x-1 will

ghc stackfaults

2007-05-18 Thread John Meacham
ghc 6.6 and 6.6.1 both go into infinite loops and eventually die with a stackfault when trying to compile the attached file with optimizations turned on. -- John Meacham - ⑆repetae.net⑆john⑈ module C.Op where {- Basic operations. These are chosen to be roughly equivalent to c-- operations, but