2009/6/22 Vasili I. Galchin <vigalc...@gmail.com>:
> 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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to