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

Ralph Becket rafe at csse.unimelb.edu.au
Mon Oct 8 14:11:40 AEST 2007


Ian MacLarty, Monday,  8 October 2007:
> 
> I'm not convinced.  You could easily create a function that generated a
> string from a T using format/8.  Say you called this function str.  Then
> you might have the goal 'str(X) = str(Y)' failing, even though X and Y
> are equal.  The problem is that the "viewer" of str(X) and str(Y) is not
> necessarily a person.  It might be the program.  The program won't give
> str(X) and str(Y) the same denotation, even though a human viewer might.

I was hoping you wouldn't say that...!
--------------------------------------------------------------------------
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