[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accumulator



Michael Vanier <mvanier@cs.caltech.edu> writes:

> Firstly, python's indentation rules (which I generally like) make life
> difficult when using lambdas.  Writing multi-line lambda expressions is
> extremely nasty, if not outright impossible.  This certainly limits the
> uses to which lambdas can be put.  OTOH you can always write a named
> function if you want to, but that seems quite arbitrary.

i don't agree
- haskell has lambdas!
- adding indentation-based blocking to ruby would not be hard.
- indentation-based grouping in scheme: http://sugar.mini.dhs.org/