Re: PATCH: implementation for TH PprLib.hs punctuate function

2004-03-04 Thread Ian Lynagh
On Tue, Mar 02, 2004 at 07:02:18PM +, Duncan Coutts wrote: > > I noticed that the 6.3 version of the PprLib.hs is not fully implemented > so pretty printing some things calls Prelude.undefined. Thanks - looks like something I forgot to go back to. > Attached patch typechecks but I've not reb

PATCH: implementation for TH PprLib.hs punctuate function

2004-03-02 Thread Duncan Coutts
Hi, I noticed that the 6.3 version of the PprLib.hs is not fully implemented so pretty printing some things calls Prelude.undefined. With the other monadic version of the HughesPJ combinators you can just wrap them using liftM or similar but that doesn't work out so well for punctuate as the type