You probably want -ddump-simpl to print Core
Yes, the bindings should be in dependency order. They certainly seem to be for
me
Simon
Foo.hs
data Numeral = Zero | Succ Numeral
zero = Zero
one = Succ zero
ten = Succ one
ghc -c -ddump-stg -ddump-simpl Foo.hs
Tidy Core
Simon Peyton-Jones writes:
Yes, the bindings should be in dependency order. They certainly seem to be for me
Simon
I always - naively - thought that it is a non-problem. How many times have
I written stuff like that:...
ping = 0 : pong
pong = 1 : ping
It seems that I don't understand
On Nov 19, 2007 9:39 PM, [EMAIL PROTECTED] wrote:
I always - naively - thought that it is a non-problem. How many times have
I written stuff like that:...
ping = 0 : pong
pong = 1 : ping
It seems that I don't understand the question of Victor Nazarov, nor the
answer of SPJ...
This is
I wrote about binding order:
I always - naively - thought that it is a non-problem. How many times have
I written stuff like that:...
ping = 0 : pong
pong = 1 : ping
It seems that I don't understand the question of Victor Nazarov, nor the
answer of SPJ...
This is the question about