lua-users home
lua-l archive

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


Jay Carlson <[email protected]> wrote:

> I wonder if there's a vertical variant of list comprehensions.

Haskell's do notation coupled with the list monad, sort of.

Tony.
-- 
f.anthony.n.finch  <[email protected]>  http://dotat.at/
Shannon, Rockall, Malin, Hebrides: South veering northwest 5 to 7, becoming
variable 4, then southeast 5 or 6 later in Shannon and Rockall. Rough or very
rough. Occasional rain. Moderate, occasionally poor, becoming good.