[Haskell-cafe] let vs. where
David Roundy
droundy at darcs.net
Tue Nov 13 16:59:38 EST 2007
On Tue, Nov 13, 2007 at 07:16:01PM +0000, Sebastian Sylvan wrote:
> I use let in monadic code and in lambda expressions, and where clauses
> everywhere else, pretty much. It's pretty much entirely based on what
> I think "looks" nice.
That's what I do, except I rarely use either where or let in lambda
expressions--things just get too crowded. But let is great in monadic
code, since you can leave out the "in", which is always what makes let
ugly.
--
David Roundy
Department of Physics
Oregon State University
More information about the Haskell-Cafe
mailing list