| I would think the easiest way to go about this would be to extend the
| rules pragma.
|
| {-# RULES shift/const-inline forall x y# . shift x y# = ... #-}
|
| where variables ending in # will only match constants known at compile time
Interesting idea. GHC can do that *internally* using a
Duncan Coutts schrieb:
Try SRC_HC_OPTS = -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc
With this I've produced a binary saying:
-bash-3.00$ ghc --version
ghc-6.6: schedule: re-entered unsafely.
Perhaps a 'foreign import unsafe' should be 'safe'?
Yes! I get exactly the same under sparc
With ghc-6.6 there is a change in module Data.Array.MArray which now
includes a function
getBounds :: (MArray a e m, Ix i) = a i e - m (i,i) but it misses the good
old
bounds [which had type bounds :: (HasBounds a, Ix i) = aie - (i,i)].
What is the rational behind this change?
Are MArrays now able
On Wed, 2006-10-18 at 11:31 +0200, Andreas Marth wrote:
With ghc-6.6 there is a change in module Data.Array.MArray which now
includes a function
getBounds :: (MArray a e m, Ix i) = a i e - m (i,i) but it misses the good
old
bounds [which had type bounds :: (HasBounds a, Ix i) = aie - (i,i)].
Christian,
I've reported this bug here:
http://hackage.haskell.org/trac/ghc/ticket/951
Please add any further info you think necessary.
Duncan
On Wed, 2006-10-18 at 11:21 +0200, Christian Maeder wrote:
Duncan Coutts schrieb:
Try SRC_HC_OPTS = -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc
On Tue, 17 Oct 2006, John Meacham wrote:
On Mon, Oct 09, 2006 at 03:54:41PM +0100, Ian Lynagh wrote:
It might be possible, but it sounds tricky. I guess it would have to go
something like try inlining this, run the simplifier, see if it got
small enough, if not back out, which could waste a
Duncan Coutts schrieb:
1. Without SplitObjs=NO in mk/build.mk, will every file be compiled as
if -split-objs were on ghc's command line?
Not as if, the build system really does add -split-objs and does some
other magic when SplitObjs=NO is not in mk/build.mk.
My stage2 compiler (created
Hello Andreas,
Wednesday, October 18, 2006, 1:31:28 PM, you wrote:
getBounds :: (MArray a e m, Ix i) = a i e - m (i,i) but it misses the good
old
bounds [which had type bounds :: (HasBounds a, Ix i) = aie - (i,i)].
What is the rational behind this change?
Are MArrays now able to change
Hi,
I want to benchmark GHC vs some other Haskell compilers, what flags
should I use?
I just want whichever package of flags is good optimisation -
nothing unsafe, nothing that changes strictness properties, and a set
of flags that is generally applicable - but slow compilation is fine.
As far
On 10/16/06, Simon Marlow [EMAIL PROTECTED] wrote:
Björn Buckwalter wrote:
I downloaded the GHC 6.6 tarballs, built and installed them on my mac
(Tiger, PPC) using the documented procedure:
./configure
make
make install
The build and install was fairly smooth. However, ghci will not
10 matches
Mail list logo