[Haskell-cafe] The where-clause and guards

Eitan Goldshtrom thesourceofx at gmail.com
Wed Jul 21 13:15:50 EDT 2010


Aha. I understand now. A single where-clause applies to the entire scope 
of the function, at all levels. Thanks for the help.

-Eitan

On 7/21/2010 3:55 AM, Nicolas Wu wrote:
> Ugh, my formatting got eaten up by gmail. I just removed the where in
> front of "m =", and aligned tat statment with your ballFold
> definition. I would also align the first where statement with the case
> bars of traceRay.
>
> Nick
>
> On Wed, Jul 21, 2010 at 8:53 AM, Nicolas Wu<nicolas.wu at gmail.com>  wrote:
>    


More information about the Haskell-Cafe mailing list