Isaac Dupree wrote: > Is ghc -ddump-parsed supposed to give parse-syntactically valid Haskell? > It nearly does - the only way I've seen it not do so is infix > type-signatures and some infix definitions. Answer: no, look at what it > does to the operators with fixities. But, -ddump-rn seems better... > > file: > > (@@@) :: a > a @@@ b = a + b : a + b > > ==================== Parser ==================== > @@@ :: a > @@@ a b = ((a + b) : a) + b
Could -ddump-parsed not simply omit these (wrong) left-associative parentheses? What information would be lost? Cheers Christian _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
