> > Since the Report states that the derived Show instances only insert
> > parentheses where needed and that the derived Read instances can
> > read the output produced by show, I would suggest to change all
> > occurences of {showsPrec 10,readsPrec 10} to {showsPrec 0,readsPrec 0}
> > in the above code.
> 
> That seems like a reasonable suggestion, but it doesn't fix the bug.

Could you please explain why not? It seems to work fine in my tests here,
at least with the given example. 

Best,
  Andres

-- 

Andres Loeh, Universiteit Utrecht

mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
http://www.andres-loeh.de

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to