
22 Jun
2009
22 Jun
'09
1:31 a.m.
2009/6/22 Vasili I. Galchin
Hello,
I am working with some existing code. "where/let" functions use the same name for function parameters as the outer function and hence there is a "shadow" warning from the compiler. To me it doesn't see totally unreasonable to code like this .... the downside is the nasty ghc warnings. Is there a coding consensus on this issue?
Vasili
I say you should change it. Any maintainer of code with shadowed variables could easily be confused, no matter what the language is. -- Deniz Dogan