[Narrowing to ghc users only]
That's odd. I tried it (the HEAD) and it worked fine. Input and output
below
You'll notice that the binding for 'realloc' got floated into the branch
of the case (that's FloatIn), but it is never inlined.
| Even so, I kind of wish there were a stage between STG
Monday, August 14, 2006, 10:34:22 AM, Andres Loeh wrote:
14:30 Simon Marlow (Microsoft Research)
An Extensible Dynamically-Typed Hierarchy of Exceptions
is this planned to be included in ghc 6.6? 6.8?
15:00 David Himmelstrup (Denmark)
Demo: Interactive Debugging with
Hello Duncan,
Monday, August 14, 2006, 2:33:31 AM, you wrote:
Reversing the test doesn't help because either way ghc turns it into:
case thing of
_DEFAULT -
4096 -
to be exact, ghc passes code for default case separately from code for
other cases. look at emitSwitch procedure to know
Hello skaller,
Sunday, August 13, 2006, 4:34:14 AM, you wrote:
I know very little about Haskell, let alone GHC internals
me too. so it's better to wait for comments about your thoughts from
GHC team than from me. but at least i can said that
But the state of the art is then two stages behind
On Mon, 2006-08-14 at 10:12 +0100, Simon Peyton-Jones wrote:
[Narrowing to ghc users only]
That's odd. I tried it (the HEAD) and it worked fine. Input and output
below
You'll notice that the binding for 'realloc' got floated into the branch
of the case (that's FloatIn), but it is never