On Apr 5, 2008, at 15:07 , John M. Dlugosz wrote:
What is a "list comprehension"? I've seen that term bantered around here.

The term comes from Haskell and Python; it's a shorthand notation for list generation and filtering.

[x | x <- some expression involving y, y = some range expression] -- haskell syntax

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH

Reply via email to