Kevin Glynn wrote:
I think _X should be a first class variable name that only bypasses
the unused var check.

- Should the compiler warn when a variable starting with underscore
  *is* used?

I am undecided, but I lean to yes.
Sounds good to me. Because of the compiler warnings about unused variables, I had adopted the following style for unused variables in case patterns and procedure parameters:
   _/*SomeThing*/
In your proposal, I could just omit the comments and write _SomeThing instead.

Cheers,
Andreas


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to