[m-rev.] field syntax (was: smart recompilation)

Simon Taylor stayl at cs.mu.OZ.AU
Wed Jul 4 19:35:27 AEST 2001


On 04-Jul-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> For one thing, it makes the .NET mapping nicer, as we can generate a get
> and set property for foo = and foo :=

.NET should be irrelevant to this discussion. We should not be
designing high-level language features based on implementation
details of one of the back-ends. That sort of thing is what
pragmas are for.
 
> I also think it's a bit of a wart in the current design that you can
> write a 
> 	X = "hello" ^ to_upper
> 
> but to_upper is not a field access function and was never intended to be
> one.

It really depends on how you read `^'. 

Simon.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list