On Mon, Apr 1, 2013 at 9:32 AM, Richard Eisenberg wrote:
>
> Normal "let":
> In a function (which does not use "do"), you can use "let" to make local
> variables. The word "in" separates the local variable declaration from the
> part of your function where you want to use that variable. Loosely
>
It might just be easiest for me to explain than to find another resource:
"let" and "where" are both ways of creating local variables in a function. They
serve similar purposes, and in most cases, it's your choice of which one to
use. (Comparing to C++, the choice of let vs. where is not too far
Hi
I think I've mastered much of functional programming with Haskell, or at
least I can write programs which process as desired.
However the existence of the "let" statement evades me apart from a quick
way to define a function. Then there is the "in" and "where" parts. Its
been suggested its to