[m-dev.] Reopened: state vars syntax sugar

Ralph Becket rafe at csse.unimelb.edu.au
Thu Feb 1 09:19:25 AEDT 2007


Peter Schachte, Wednesday, 31 January 2007:
> Ah, that's just because insts aren't used much.  Put this in builtins.m:
> 
> 	:- inst g == ground.
> 	:- inst u == unique.
> 
> OK, problem fixed.  !g is shorter than !in.  ;-)

At first I was skeptical, but !g really is a giant leap forward for
readability :-)  Perl, here we come!
--------------------------------------------------------------------------
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