[m-dev.] for review: tuples [1]

Tyson Dowd trd at cs.mu.OZ.AU
Mon Aug 14 08:10:42 AEST 2000


On 12-Aug-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> The change allows (or at least I think it should allow) other uses for
> the symbols, so long as you specify the types enough to ensure that
> type inference can resolve any ambiguities.

Would it be acceptable to only accept the brace syntax as syntax for
tuples if you have imported the appropriate module (say `tuple')?

That way if you are keen on using {...} for set syntax, you can avoid
using the tuple module (or :- use_module it, so you require module
qualification if you do use it). 

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list