RE: The order if bindings generated by GHC

2007-11-19 Thread Simon Peyton-Jones
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

Re: The order if bindings generated by GHC

2007-11-19 Thread jerzy . karczmarczuk
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

Re: The order if bindings generated by GHC

2007-11-19 Thread Victor Nazarov
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

Re: The order if bindings generated by GHC

2007-11-19 Thread jerzy . karczmarczuk
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