| ... | ... | @@ -16,7 +16,7 @@ data Foo = Foo | _Bar -- ^ _Bar possibly unused |
|
|
|
will be valid.
|
|
|
|
|
|
|
|
|
|
|
|
we can either treat identifiers containing only underscores as lowercase names or invalid depending on how important the ability to obfscusiate code is to us. (or a composite number of them being a variable and a prime number of them being a constructor if we really really want to allow obfscusiated code :) )
|
|
|
|
we can either treat identifiers containing only underscores as lowercase names or invalid depending on how important the ability to obfuscate code is to us. (or a composite number of them being a variable and a prime number of them being a constructor if we really really want to allow obfuscated code :) )
|
|
|
|
|
|
|
|
|
|
|
|
The leading underscore convention is not only useful as a way to suppress warnings, but as a form of documentation that we expect a name to be unused so being able to use it in these cases would be helpful.
|
| ... | ... | |