[m-dev.] Pretty printing non-canonical types

Mark Brown mark at csse.unimelb.edu.au
Mon Oct 8 18:05:53 AEST 2007


On 08-Oct-2007, Ralph Becket <rafe at csse.unimelb.edu.au> wrote:
> Mark Brown, Monday,  8 October 2007:
> > 
> > I don't think we should try to implement the user defined equality, but
> > format/8 should still be cc_multi.
> 
> You don't need to make doc a non-canonical type: it's only format/8
> which needs to be cc_multi.  It turns out this isn't a problem at all.

Agreed.  I didn't realise that the terms were never deconstructed when
building docs, only when outputting the resulting docs to a stream.

Cheers,
Mark.

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list